diff --git a/test/scripts/index-arrays.toy b/test/scripts/index-arrays.toy index 6030574..0f483d9 100644 --- a/test/scripts/index-arrays.toy +++ b/test/scripts/index-arrays.toy @@ -71,6 +71,7 @@ assert a[0][0] == [42], "nested indexing failed"; } + //test nested indexing multipliciation assignment { var a = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]; @@ -80,6 +81,7 @@ assert a == [[1, 2, 3], [4, 50, 6], [7, 8, 9]], "nested indexing multipliciation assignment failed"; } + //test combine example { fn combine(a, b, c) {