Add containsKey() to Map, and validate key types.

This commit is contained in:
Bob Nystrom
2015-01-25 12:39:19 -08:00
parent 3061bdde7f
commit 0e6a90443e
8 changed files with 65 additions and 10 deletions
+1
View File
@@ -0,0 +1 @@
var result = {}.containsKey([]) // expect runtime error: Key must be a value type.