<script> let a = 1; $: b = a + 1; </script> <p>{a} + 1 = {b}</p>