javascript how to assing a numeric value to a string code example
Example: javascript number to string
const toNumber = str => +str;
// Example
toNumber('42'); // 42
const toNumber = str => +str;
// Example
toNumber('42'); // 42