This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.
Smartphone icons created by Freepik - Flaticon
JavaScript will NOT convert strings to numbers when adding:
let x = "100"; let y = "10"; let z = x + y; document.getElementById("demo").innerHTML = z;
JavaScript will try to convert strings to numbers in all numeric operations like * (multiply), / (divide) and − (minus). JavaScript uses the + operator to concatenate the strings.