From a408b4024c300b9f459c286a380f4e46c9acf5a1 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Sun, 21 Sep 2025 18:53:52 -0700 Subject: [PATCH] Update index.html --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 14f7868..771c1b6 100644 --- a/index.html +++ b/index.html @@ -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()