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/runtime/samples/reactive-assignment-in-comp.../main.svelte

10 lines
131 B

<script>
let eid = 1;
let foo;
let employees = [
{id: eid = (foo = 2), name: 'xxx'},
]
</script>
<h1>{foo} {eid}</h1>