nashorn/test/script/basic/map.js.EXPECTED
author sundar
Wed, 16 Jan 2013 21:26:55 +0530
changeset 16178 2704dd3b2691
parent 16147 e63b63819133
child 34979 03b189baa361
permissions -rw-r--r--
8006424: Passing null or undefined to adapter class constructors results in NPE or ClassCastException Reviewed-by: attila, hannesw, jlaskey

m.class.name=java.util.LinkedHashMap
m = {}
m.empty = true
m['empty'] = true
m[empty_key] = true
m = {empty=foo}
m.empty = false
m['empty'] = foo
m[empty_key] = foo
m.bwah = null
m['bwah'] = null
m.twonk = ding
m['twonk'] = ding
m.size()=2
--for each begin--
empty
twonk
--for each end--