diff options
Diffstat (limited to 'test.fy')
| -rw-r--r-- | test.fy | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -10,3 +10,9 @@ my foo = [bar, 1, 4/2, double "3", ["A", ["BA", "BB"]]]; # Run on each element of foo recursive 'say' say foo; + +# Print the length of the array +assert 5 == say len foo; + +# Print the last index of the array +assert 4 == say ind foo; |
