mirror of https://github.com/sveltejs/svelte
parent
180756a230
commit
bb42afc1b0
@ -1,6 +1,9 @@
|
||||
let a = $state(1);
|
||||
let b = $state(2);
|
||||
let c = 3;
|
||||
let d = 4;
|
||||
|
||||
export function update(array) {
|
||||
[a, b] = array;
|
||||
[c, d] = array;
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue