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.
svelte/test/js/samples/unchanged-expression/input.svelte

18 lines
257 B

<script>
let world1 = 'world';
let world2 = 'world';
let world3 = 'world';
function foo() {
world3 = 'svelte';
}
</script>
<div>
<p>Hello world</p>
<p>Hello {world1}</p>
<p>Hello {world2}</p>
</div>
<div>
<p>Hello {world3}</p>
</div>