<script>
	export let foo = 1, bar, baz, qux;

	$: {
		bar = foo;
		baz = foo;
	}

	$: {
		qux = bar + baz;
	}
</script>