switching 'a in b' to 'a of b', and adding an array presence check for 'a in b'.

This commit is contained in:
Jeremy Ashkenas
2010-06-21 23:51:12 -04:00
parent 38a9b7166b
commit 0fcfb80be4
9 changed files with 145 additions and 35 deletions

View File

@@ -56,7 +56,7 @@ ok evens.join(', ') is '4, 6, 8'
# The in operator still works, standalone.
ok 2 in evens
ok 2 of evens
# Ensure that the closure wrapper preserves local variables.