Strings In Depth8 / 18
Up next

Parse a number

const text = "42";
// text to number, and number back to text
const n = Number(text);
console.log(n + 1, String(n) + "!");
What you're solving

Number() and String() convert