MCQs>IT & Programming>JavaScript>Which is the correct output of the given code? var a = 20 + 'Example' + 10 + 'Test'; var b= 20 + 10 + 'Test' + 'Example' ; document.write(a, ' '); document.write(b);
JavaScript MCQs
Which of the given options is the correct output of the following JavaScript code?
var a = 20 + "Example" + 10 + "Test"; var b= 20 + 10 + "Test" + "Example" ; document.write(a, "<br>"); document.write(b);
Answer
Correct Answer: 20Example10Test<br>30TestExample
Explanation:
Note: This Question is unanswered, help us to find answer for this one