JavaScript Objects Worksheet
Question 1
What makes up an object (what does an object consist of)?
They consist of properties
Question 2
What are two different types of notations that you can use when working with the properites of objects? For example, there are two types of syntax that you could use if you wanted to update a property of an object.
property name and property value
Question 3
Why are objects an important data type in JavaScript?
You can specify each data type in specific for example giving a value of petDog info for age, breed, etc
Question 4
When creating an object, what character is used to separate property names from their values?
Using the " : " sign
Question 5
When creating an object, what character is used to separate the property/value pairs in an object?
{} curly braces
Question 6
What operator is used to access a property of an object?
dot operator