diff --git a/index.html b/index.html index e9071e3..b7bea52 100644 --- a/index.html +++ b/index.html @@ -208,10 +208,9 @@ grade: (score >= 90) ? { "A" } : { "D" } _(grade) // Prints "C" -// Use as a standalone 'if' for side-effects. -// The block executes if the condition is true; the return value is discarded. -isReady: !0 -(isReady) ? { _("System is ready.") } +// Use for side-effects, like a traditional 'if'. +// The return value is discarded. +(grade == "C") ? { _("Passable") } \`\`\` ## Data Structures @@ -442,3 +441,4 @@ To create the initial Hi-to-JS transpiler, the following primitives and built-in +