A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/javascript/javascript-number-constructor-property/ below:

JavaScript Number constructor Property - GeeksforGeeks

JavaScript Number constructor Property

Last Updated : 12 Jul, 2025

JavaScript Number constructor Property is used to return the number constructor function for the object. The function which is returned by this property is just the reference to this function, not a number containing the function’s name. The JavaScript number constructor, string constructor, and boolean constructor return function Number() { [native code] }, function String() { [native code] }, and function Boolean() { [native code] } respectively.

Syntax:

number.constructor

Values: This property does not have any value.

Return Value: It returns function Number() { [native code] }

Example 1:

JavaScript
let num = 444; 
console.log(num.constructor);

Output:  

function Number() { [native code] }

Example 2: 

JavaScript
let num = 44.44; 
console.log(num.constructor);

Output: 

function Number() { [native code] }

Supported Browsers: 

We have a complete list of JavaScript Number constructor, properties, and methods list, to know more about the numbers please go through that article.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4