Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
var map:Object = {key1: "value1", key2: "value2"};
|
||||
trace(map['key1']); // outputs "value1"
|
||||
|
||||
// Dot notation can also be used
|
||||
trace(map.key2); // outputs "value2"
|
||||
|
||||
// More keys and values can then be added
|
||||
map['key3'] = "value3";
|
||||
trace(map['key3']); // outputs "value3"
|
||||
Loading…
Add table
Add a link
Reference in a new issue