Skip to content

Instantly share code, notes, and snippets.

@nathanmpark
Created October 2, 2015 04:53
Show Gist options
  • Save nathanmpark/978ff0e86fc128c83e7c to your computer and use it in GitHub Desktop.
Save nathanmpark/978ff0e86fc128c83e7c to your computer and use it in GitHub Desktop.
// Add property to object
skateboarder.trick = "360 Flip";
var skateboarder = {
name: "Rodney Mullen",
board: "Almost Deck",
wheels: "Spitfire",
trucks: "Independent",
trick: "360 Flip" // The new property trick is added here
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment