javascript-object Flashcards
1
Q
What are objects used for?
A
group together sets of variables and functions to creat a model
2
Q
What are object properties?
A
strings, numbers, booleans, arrays, or even another object
3
Q
Describe object literal notation.
A
object, key, value
4
Q
How do you remove a property from an object?
A
uses the keyword delete
5
Q
What are the two ways to get or update the value of a property?
A
dot notation or square bracket