diff --git a/site/content/tutorial/02-reactivity/03-reactive-statements/text.md b/site/content/tutorial/02-reactivity/03-reactive-statements/text.md index 1b0e90b7d5..a6a7e34561 100644 --- a/site/content/tutorial/02-reactivity/03-reactive-statements/text.md +++ b/site/content/tutorial/02-reactivity/03-reactive-statements/text.md @@ -24,4 +24,18 @@ $: if (count >= 10) { alert(`count is dangerously high!`); count = 9; } -``` \ No newline at end of file +``` + +It is worth noting that you will never be alerted that `count` is 10. Regardless of the order of these two blocks, you will first be alerted that `count` is dangerously high before it is reset to 9. Only after this is it then logged to the console and used in the alert. +```js +$: { + console.log(`the count is ${count}`); + alert(`I SAID THE COUNT IS ${count}`); +} +``` +```js +$: if (count >= 10) { + alert(`count is dangerously high!`); + count = 9; +} +```