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")`.
Glossary: Data Structures and Algorithms
Also written: methods
A function that belongs to a class and is called on an object with a dot, such as `history.push("x")`.