Just came across this interesting #JavaScript behavior example: ("b" + "a" + + "a" + "a").toLowerCase(); // "banana" Explanation: Step 1: "b" + "a" = "ba" Step 2: "ba" + (+"a") = "ba" + NaN = "baNaN" Step 3: "baNaN" + "a" = "baNaNa" Step 4: "baNaNa".toLowerCase() = "banana"
1
7
11
0
0
@CodingJrney And then taking this idea to the extreme youtu.be/sRWE5tnaxlI