JavaScript-objects Flashcards
1
Q
What are objects used for?
A
Objects group together a set of variables and functions to create a model
2
Q
What are object properties?
A
string, number, boolean,array
3
Q
Describe object literal notation.
A
an array of key,values,objects
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
Bracket notation, dot notation