mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
194 B
18 lines
194 B
5 years ago
|
<script context='module'>
|
||
|
let a = {};
|
||
|
let b = {};
|
||
|
let c = {};
|
||
|
let d = {};
|
||
|
</script>
|
||
|
<script>
|
||
|
let c = {};
|
||
|
|
||
|
a = 1;
|
||
|
b.x = 1;
|
||
|
|
||
|
function foo() {
|
||
|
let d = {};
|
||
|
c = 1;
|
||
|
d.x = 1;
|
||
|
}
|
||
|
</script>
|