<script context='module'>
let a = {};
let b = {};
let c = {};
let d = {};
</script>
<script>
a = 1;
b.x = 1;
function foo() {
c = 1;
d.x = 1;
}