toString < Number < JavaScript
The toString() method of Numbers returns a number as a string.
const number = 15;
const numberString = number.toString();
console.log(numberString);
// "15"
The toString() method of Numbers returns a number as a string.
const number = 15;
const numberString = number.toString();
console.log(numberString);
// "15"