mirror of https://github.com/sveltejs/svelte
parent
51f2a3b231
commit
356a1eb8d9
@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
html: `{"bar":42}`
|
||||||
|
};
|
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
let foo = {};
|
||||||
|
let bar = 42;
|
||||||
|
$: foo.bar = bar;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{JSON.stringify(foo)}
|
Loading…
Reference in new issue