javascript-oop-2 Flashcards

1
Q

What is this?

A

keyword that refers to the object it belongs to.

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

What does bind do?

A

Bind assigns this to that specific object that is passed as an argument, no matter where it is used.

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

What is the difference between a function and an object literal?

A

An object literal is an object with properties stored within it. A function is a

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