Convert integer to string.

Convert integer to string.

JavaScript

var i = 42;
var s = i.toString();
console.log(s);