MCQs > IT & Programming > JavaScript > What's the output? var x = 5; var y = 0; document.write( let(x = x + 10, y = 12) x+y + ','); document.write(x+y);

JavaScript MCQs

What will be the output of the following code?

  var x = 5;
  var y = 0;
  document.write( let(x = x + 10, y = 12) x+y + ",");
  document.write(x+y);


Answer

Correct Answer: 27,5

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it