I have a simple simulated array with two elements:
bowl["fruit"] = "apple"; bowl["nuts"] = "brazilian";
You could use JSON if you don’t want to escape the key:
var bowl = { fruit: "apple", nuts: "brazil" }; alert(bowl.fruit);