javascript

Convert a Number or Integer to String in Javascript

You can use .toString() method to convert a number or integer value to string value.

const num = 10;
const str = num.toString();

Live Demo

Was this helpful?