Skip to content

Challenge Declare JavaScript Objects as Variables

SaintPeter edited this page · 1 revision
Clone this wiki locally

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.