diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_debug_arrow.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_debug_arrow.txt | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/js/scripting-lang/scratch_tests/test_debug_arrow.txt b/js/scripting-lang/scratch_tests/test_debug_arrow.txt deleted file mode 100644 index 050bf18..0000000 --- a/js/scripting-lang/scratch_tests/test_debug_arrow.txt +++ /dev/null @@ -1,26 +0,0 @@ -/* Debug test for arrow functions */ - -// Test 1: Regular arrow function assignment -add_func : x y -> x + y; - -// Test 2: Arrow function in table -calculator : { - add: x y -> x + y -}; - -// Test 3: Just the table creation -table_only : { - name: "test", - add: x y -> x + y -}; - -// Output tests -..out "=== DEBUG ARROW FUNCTIONS ==="; - -..out "Regular function:"; -result1 : add_func 5 3; -..out result1; - -..out "Table function:"; -result2 : calculator.add 5 3; -..out result2; \ No newline at end of file |