Description
JavaScript objects have methods.
Syntax
Basic syntax
Objects can also have methods
Properties
Of course methods can use object properties and functions can be passed
as properties
This
this
parameter can also be passed explicitly using a functions call
method, if that’s socially acceptable in your culture: