selectors support for hash
This commit is contained in:
5
examples/selectors.monkey
Normal file
5
examples/selectors.monkey
Normal file
@@ -0,0 +1,5 @@
|
||||
let d = {"foo": 1, "bar": 2}
|
||||
|
||||
assert(d.foo == 1, "d.foo != 1")
|
||||
assert(d.bar == 2, "d.bar != 2")
|
||||
assert(d.bogus == null, "d.bogus != null")
|
||||
Reference in New Issue
Block a user