convert nuber into string react js

JavaScript
var foo = 45;
var bar = '' + foo;
Source

Also in JavaScript: