about summary refs log tree commit diff stats
path: root/js/baba-yaga/debug-simple-math.baba
diff options
context:
space:
mode:
Diffstat (limited to 'js/baba-yaga/debug-simple-math.baba')
-rw-r--r--js/baba-yaga/debug-simple-math.baba5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/baba-yaga/debug-simple-math.baba b/js/baba-yaga/debug-simple-math.baba
new file mode 100644
index 0000000..2c4c66e
--- /dev/null
+++ b/js/baba-yaga/debug-simple-math.baba
@@ -0,0 +1,5 @@
+// Simple test for math operations
+x : -7;
+result : io.callJS "Math.abs" [x];
+debug.inspect result;
+result;