Skip to content

Challenge Declare JavaScript Objects As Variables

Quincy Larson edited this page Aug 20, 2016 · 1 revision

Challenge Declare JavaScript Objects as Variables

This has a simple format. You declare your variable and have it equal to an object in the form { key: value}

var car = {
  "wheels":4,
  "engines":1,
  "seats":5
};
Clone this wiki locally