property access

Top Next
var user = {
  first: 'Bob',
  last: 'Hope'
};

// What do you call the thing above?
/* A: An object literal. */

// How can you access the first name?
/* A: `user.first`, or `user['first']`. */

// See http://stackoverflow.com/q/4968406/358804