javascript objects Flashcards
1
Q
In the example above, “this” in object method
A
it refers to the person object:
2
Q
What does a method means
A
A method in js is a function stored as a properties
3
Q
if you access a method without () you will get
A
the function/ function declaration.
4
Q
when a variable is stored as new in objects
A
it turns the variable into an object