Question: In Javascript, the statement var z = 4 + 2; would result in z having a value of: O 4+2 O42 O 6 OIt
In Javascript, the statement var z = 4 + "2"; would result in z having a value of: O "4+2" O"42" O "6" OIt would produce a syntax error due to the type mismatch.
Step by Step Solution
3.34 Rating (163 Votes )
There are 3 Steps involved in it
In JavaScript the operator serves two purposes when used with numb... View full answer
Get step-by-step solutions from verified subject matter experts
