Oops... forget about "associative arrays", as they sometimes cause
flaming discussion down here. Just call them objects (javascript
objects), and think of them as (imperfect) associative arrays.
As for the initialisation syntax, which is the javascript object
initialisation syntax ( see
http://www.json.org ), you should be fine with :
a = { "abc": "def",
"ghi": "jkl" };
The quotes are optionnal, so the following is fine, too:
a= { abc: "def",
ghi: "jkl" }
However, if one of your keys has spaces or weird characters in it, se
the quotes:
cplx = { "abc d": "efg",
hij: "klm" };
Hope this helps,
Alexis