Action you perform on objects in java script
Answers
Answered by
1
Answer:
JavaScript methods are actions that can be performed on objects.
Explanation:
A JavaScript method is a property containing a function definition.
You access an object method with the following syntax:
objectName.methodName()
The methodName() will execute (as a function) when it is invoked with ().
Similar questions