author | erikj |
Tue, 12 Sep 2017 19:03:39 +0200 | |
changeset 47216 | 71c04702a3d5 |
parent 34979 | nashorn/test/script/basic/map.js.EXPECTED@03b189baa361 |
permissions | -rw-r--r-- |
16147 | 1 |
m.class.name=java.util.LinkedHashMap |
2 |
m = {} |
|
3 |
m.empty = true |
|
4 |
m['empty'] = true |
|
5 |
m[empty_key] = true |
|
6 |
m = {empty=foo} |
|
7 |
m.empty = false |
|
8 |
m['empty'] = foo |
|
9 |
m[empty_key] = foo |
|
34979
03b189baa361
8144919: Implement missing member handler for BeansLinker
attila
parents:
16147
diff
changeset
|
10 |
m.bwah = undefined |
03b189baa361
8144919: Implement missing member handler for BeansLinker
attila
parents:
16147
diff
changeset
|
11 |
m['bwah'] = undefined |
16147 | 12 |
m.twonk = ding |
13 |
m['twonk'] = ding |
|
14 |
m.size()=2 |
|
15 |
--for each begin-- |
|
16 |
empty |
|
17 |
twonk |
|
18 |
--for each end-- |