Edit in JSFiddle

var n = "123"
document.write(typeof n + "<br>");
document.write(typeof +n + "<br>");
document.write(typeof Number(n) + "<br>");
document.write(n + 4 + "<br>");
document.write(+n + 4 + "<br>");