0 votes
103 views
in Computer Science by (33.3k points)
Explain the terms object properties and object methods in JavaScript.

1 Answer

0 votes
by (268k points)
 
Best answer
Properties define the characteristics of an object. Examples are color, length, name, height, width etc.

Methods are the actions that the object can perform or that can be performed on the object. Examples are alert, confirm, write, open, close etc.
...