Command
$: doubled = count * 2Explanation
Use reactive statements to automatically update when dependencies change.
Examples
Reactive assignment
$: doubled = count * 2Reactive block
$: if (count > 10) { alert("Too high!") }Reactive logging
$: console.log("count is", count)