JSFiddle - React, Tailwind, and code Playground

by akhildev

JavaScript

console.log(1 +  "2" + "2");//122
console.log(1 +  +"2" + "2");//122/////////////
console.log(1 +  -"1" + "2");//02
console.log(+"1" +  "1" + "2");//112
console.log( "A" - "B" + "2");//NaN2
console.log( "A" - "B" + 2);//NaN2