Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 233 Bytes

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
};
Something went wrong with that request. Please try again.