javascript-objects Flashcards

1
Q

What are objects used for?

A

Model real world objects.

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

What are object properties?

A

The name:values pairs in JavaScript objects.

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

Describe object literal notation.

A

Defining an object using { }.

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