svelte/test/runtime/samples/onmount-async/main.svelte

8 lines
95 B

<script>
import { onMount } from 'svelte';
onMount(async () => {
await 123
});
</script>