How To Use Number Object Constructor Property In Java Script
In this article I am going to explain about Number Object Constructor Property In JavaScript.
Use Constructor Property in JavaScript
When we create a number object property then this prototype it will be return the function.
The number object constructor property its return function number.
All browsers support number object constructor property.
Syntax
Example
<!DOCTYPE html>
<html>
<body style="background-color:red">
<script type="text/javascript" >
var num = new Number(345);
document.write(num.constructor);
</script>
</body>
</html>
|
Output
Further Readings
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here