javascript-objects Flashcards
1
Q
What are objects used for?
A
Objects group togther a set of variables and functions with a common theme or purpose.
2
Q
What are object properties?
A
What would be considered a variable becomes a property when inside an object
3
Q
Describe object literal notation.
A
literal notation is using curly brackets with the property/value inside
4
Q
How do you remove a property from an object?
A
delete
5
Q
What are the two ways to get or update the value of a property?
A
dot notation , bracket notation