<script>
	let a = 1;
	let b = 2;

	let max;
	$: max = Math.max(a, b);
</script>