Multiple choice technology web technology

what value will the following expressions evaluate in the JavaScript console? "6" + "5" * 2

  1. 16

  2. 130

  3. 610

  4. 22

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JavaScript follows operator precedence: the multiplication is performed first, converting the string "5" to 5, yielding 10. Then string concatenation occurs with "6", producing "610". This matches the marked correct choice. The other numeric results ignore the implicit type coercion rules.