Glossary: JavaScript Beyond the Basics
Method
Also written: methods
A function stored in an object or class. Inside it, `this` means the object it was called on.
Glossary: JavaScript Beyond the Basics
Also written: methods
A function stored in an object or class. Inside it, `this` means the object it was called on.