Basic JavaScript Part 7: Static Properties and Methods

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting Automatic Semicolon Insertion In this post, I?m going to quickly show you how to set up static properties and methods in JavaScript. This can come in handy for constant values and/or utility functions. C# and most other class-based […]

Read More