nashorn/test/script/basic/map.js.EXPECTED
author hannesw
Wed, 25 Jun 2014 14:36:24 +0200
changeset 25243 7a1edca6ce94
parent 16147 e63b63819133
child 34979 03b189baa361
permissions -rw-r--r--
8048079: Persistent code store is broken after optimistic types merge Reviewed-by: sundar, jlaskey, attila

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--