Definition and usage of toString() method:
The toString() method can convert the Number object into a string and return this string.
Click to view more methods and properties of related Number objects (classes).
Grammar structure:
Parameter list:
Example code:
var a=new Number(3); console.log(a.toString());
Output result: 3.