//Way #1
n = 334
n.toString()
//Way #2
(334).toString()
function numberToString(num) {
return num + '';
}
function numberToString(num) {
// Return a string of the number here!
return String(num);
}
const toNumber = str => +str;
// Example
toNumber('42'); // 42
function numberToString(num) {
return ''+num;
}
const numberToString = num => `${num}`;