Grokking JavaScript Fundamentals
Ask Author
Back to course home

0% completed

JavaScript - Number
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

The Number object in JavaScript is a wrapper object allowing you to work with numerical values. It provides properties and methods for mathematical operations, enabling you to perform computations and manage numeric data effectively.

Syntax

The Number object in JavaScript can be instantiated using the new keyword, followed by the Number() constructor. The new keyword creates a new instance of the Number object, wrapping the numeric value provided as an argument to the constructor.

var numInstance = new Number(value);
  • `value

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible