Javascript Objects Flashcards

1
Q

What are objects used for?

A

Objects store keyed collections of various data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are object properties?

A

Key name for the data stored in an object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe object literal notation.

A

const objectName = {};

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you remove a property from an object?

A

Using the delete operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are two ways to get or update the value of a property?

A

Bracket and Dot Notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly