docs: update index.html

This commit is contained in:
2025-09-22 12:52:25 -07:00
parent 965ba629f0
commit 6ebd87099b

View File

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