Number instances

The Number class provides an object representation for individual numbers.

While it is unusual to see this syntax in real-world applications, it is possible to interact with numbers as instances in this way.

Loading TypeScript...

Was this page helpful?