<script> import { onMount } from 'svelte'; onMount(() => { console.log(42); }); </script> <div></div>