about summary refs log tree commit diff stats
path: root/js/scripting-lang/NEXT-STEPS.md
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/NEXT-STEPS.md')
-rw-r--r--js/scripting-lang/NEXT-STEPS.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/scripting-lang/NEXT-STEPS.md b/js/scripting-lang/NEXT-STEPS.md
index c59a534..8061fb7 100644
--- a/js/scripting-lang/NEXT-STEPS.md
+++ b/js/scripting-lang/NEXT-STEPS.md
@@ -60,7 +60,7 @@ isFunction : x -> x is function;
 
 // Type-safe operations in case expressions
 safeStringOp : x -> case x of
-    x is string : x.length()
+    x is string : string.length x
     _ : "not a string";
 
 // Complex type validation