<script>
	export let foo = 1;

	const thrice = num => 3 * num;
</script>

<p>{thrice(foo)}</p>