Are you ready for another code challenge? Join me in this video as you test your coding knowledge with the simple quiz questions.
Don't forget to make your guess in the comments below.
-------------------------------------------------------------------------------------------
🔔Like and subscribe for more videos. 🔔
Connect me on linkedin :
https://www.linkedin.com/in/meenakshilodhi...
https://www.linkedin.com/in/rk-barnwal23/
------------------------------------------------------------------------------------------
Answer: OPTION:- A) "The sum of 5 and 10 is 15"
Explanation:
The + operator is used for both addition and concatenation in JavaScript, depending on the types of the operands.
In this case, the first three operands are strings, so they are concatenated together to form the first part of the output.
The fourth operand is a sum of two numbers, so it is evaluated and the result is concatenated to the end of the string.