JavaScript Objects The Number Object- Constructor - Javascript Objects

What is JavaScript Number - constructor()?

It returns a reference to the Number function that created the instance's prototype.


The syntax of Number - constructor is as follows −

Return value:

Returns the function that created this object's instance.



num.constructor() is : function Number() { [native code] }

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

Javascript Objects Topics