From the course: Objects in JavaScript: A Dynamic Data Structure

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Solving the problem and implementing the use of objects

Solving the problem and implementing the use of objects - JavaScript Tutorial

From the course: Objects in JavaScript: A Dynamic Data Structure

Solving the problem and implementing the use of objects

You will now take a look at the data shared from the previous section from the RVA Pets example and Visual Studio Code. Here, you see, I have created a new JavaScript file that is using a quokka extension that will allow me to render my results in the Visual Studio Code window. This can be seen on line 11 and 12. Here, I have created the pet1 object on line one and added the property of name line two, and I have also used the console.log to retrieve the name data on line 11 and the data for breed on line 12.

Contents