The valueOf() method returns the primitive value of a number.
number.valueOf()
A Number, representing the primitive value of a number
Return the primitive value of a number:
var num = 15; var n = num.valueOf() console.log(n);