Reference Data Types 1 Flashcards

1
Q

What is an object in JavaScript?

A

Objects group together a set of variables and functions to create a model
of a something you would recognize from the real world.

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

How do you create an object literal?

A

var obj = {};

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

What is a property in relation to JavaScript objects? it is a variable of an object

A

when properties contain special characters and selection of properties using variables

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

delete keyword object.property

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