Build JavaScript Objects

JavaScript
var myDog = {
  name: "gozi",
  legs: 4,
  tails: 1,
  friends: ["Ted", "Fred"]
};

Source

Also in JavaScript: