Update index.html

This commit is contained in:
2025-09-21 18:53:52 -07:00
parent 47c28f08b6
commit a408b4024c

View File

@@ -142,8 +142,8 @@ Since a Block is just a sequence of expressions, data and behavior can be combin
\`\`\`javascript
counter: {
#value: 0 // Data declaration
inc: { #value = #value + 1 } // Behavior
get: { #value } // Behavior
inc: { value = value + 1 } // Behavior
get: { value } // Behavior
}
counter.inc()