<script>
	import { onMount } from 'svelte';

	export let foo = 1;
	export let bar;

	onMount(() => {
		foo = undefined;
	});
</script>

<div {foo} {bar}></div>
