make number string js 1

make number string js

var num = 15;
var n = num.toString();

Here is what the above code is Doing:
1. We create a variable called num and assign it the value of 15.
2. We create a variable called n and assign it the value of num.toString().

The toString() method converts a number to a string.

Similar Posts