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/instrumentation-script-update/main.html

11 lines
111 B

<script>
let x = 0;
function foo() {
x++;
}
</script>
<button on:click={foo}>foo</button>
<p>x: {x}</p>