jdk-24/test/nashorn/script/basic/map.js.EXPECTED
2017-09-12 19:03:39 +02:00

19 lines
298 B
Plaintext

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 = undefined
m['bwah'] = undefined
m.twonk = ding
m['twonk'] = ding
m.size()=2
--for each begin--
empty
twonk
--for each end--