Q. What is the output of this expression?
Code:console.log('5' + 1);
β
Correct Answer: (B)
'51'
Explanation: String + number results in string concatenation in JavaScript.