Skip to content

Glossary: JavaScript Beyond the Basics

Static method

Also written: static

A method marked `static` that is called on the class itself rather than on instances, such as `GiftCard.fromCode(...)`. It's often used for alternative ways to create an instance.

Where the book teaches it

Related terms

Class