0% Complete
0/0 Steps

Participants 0

      JavaScript Objects

      JavaScript objects are written with curly braces.

      Object properties are written as name: value pairs, separated by commas.


      var person = {firstName:"John", lastName:"Doe", age:50, eyeColor:"blue"};

      The object (person) in the example above has 4 properties: firstName, lastName, age, and eyeColor.

      You will learn more about objects later in this tutorial.

      Welcome to the Digital Strategy Hub

      We are in beta and please email support @ centerfordigitalstrategy.com with any issues or features that would make your experience better.

      We have a feedback call to hear what would be most useful to you:

      Thursday April at 1 ET / 10am PT