why 1 + + "1" === 2; +"1" + + "1" === 2 and "1" + "1" === "11" in javascript – stackoverflow.com

Is addition operator before char in javascript convert them to number ? 1 + + "1" === 2; +"1" + + "1" === 2; "1" + "1" === "11"

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "why 1 + + "1" === 2; +"1" + + "1" === 2 and "1" + "1" === "11" in javascript – stackoverflow.com"