Key and value iteration for maps. Also toString.

This commit is contained in:
Bob Nystrom
2015-01-25 10:27:38 -08:00
parent 251b623c65
commit 492c730e6f
9 changed files with 250 additions and 4 deletions
@@ -0,0 +1,2 @@
var a = {1: 2, 3: 4}
a.values.iterate(1.5) // expect runtime error: Iterator must be an integer.