change no to string in js code example
Example 1: change no to string in js
var num = 15;
var n = num.toString();
Example 2: convert nuber into string react js
var foo = 45;
var bar = '' + foo;
var num = 15;
var n = num.toString();
var foo = 45;
var bar = '' + foo;