In Python I could do something like myMap = {key: [value1, value2]} and then access the value2 using myMap[key][1]
myMap = {key: [value1, value2]}
value2
myMap[key][1]
Can I do som
Short answer... yes...
var m = { Foo : ["Bar", "Baz"] }; alert(m.Foo[0]); alert(m["Foo"][1]);