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/paren-wrapped-expressions/main.svelte

15 lines
195 B

<script>
export let a;
export let b;
export let c;
</script>
<span>{ (a) }</span>
<span class='{ (a) }'></span>
{#if (b) }
<span>true</span>
{/if}
{#each (c) as x}
<span>{x}</span>
{/each}