Daily Quiz - 2024-04-13
console.log(1 + "2" + "2");
122
32
NaN2
NaN
The answer is Option 1
The plus operator is defined for numbers and for strings and the expression is evaluated from left to right.
console.log(1 + "2" + "2");
122
32
NaN2
NaN
The answer is Option 1
The plus operator is defined for numbers and for strings and the expression is evaluated from left to right.