JavaScript Objects Worksheet
Question 1
What makes up an object (what does an object consist of)?
a collection of properties that represent a single object.
Question 2
you can use a . or []
Question 3
Why are objects an important data type in JavaScript?
To keep track of real world objects.
Question 4
When creating an object, what character is used to separate property names from their values?
:
Question 5
When creating an object, what character is used to separate the property/value pairs in an object?
,
Question 6
What operator is used to access a property of an object?
the dot operator