7 lines
97 B

<script>
export let num = 1;
$: max = Math.max(num, max || 0);
</script>
<p>{num} / {max}</p>