Skip to content

Glossary: Data Structures and Algorithms

Method

Also written: methods

A function that belongs to a class and is called on an object with a dot, such as `history.push("x")`.

Where the book teaches it

Related terms

ClassselfAttribute