Javascript-oop Flashcards
(2 cards)
1
Q
What is a method?
A
It represents what people need to do with objects.
2
Q
What does a method do?
A
They can retrieve or update values of an objects properties.
What is a method?
It represents what people need to do with objects.
What does a method do?
They can retrieve or update values of an objects properties.