const text = "42"; // text to number, and number back to text const n = Number(text); console.log(n + 1, String(n) + "!");
Number() and String() convert