You are not logged in.

#1 2017-12-08 05:06:52

shakeel123
User RankUser RankUser RankUser RankUser RankUser Rank
Moderator
Registered: 2017-09-21
Posts: 50,796

What is the output of this expression? x = 2 + "2"; document.writ...

Software Engineering Exams Quizzes MCQs Quizzes JavaScript Online MCQs Test

Question:
What is the output of this expression? x = 2 + "2"; document.write(x)?

Option A):
2
Option B):
Syntax Error
Option C):
4
Option D):
22

Correct Answer is Option D):
22


Top Exams Quizzes MCQs And Interview Questions With Answers Forum:
http://www.globalguideline.com/forum/

2017-12-08 05:06:52

Advertisement
Ads By Google

Re: What is the output of this expression? x = 2 + "2"; document.writ...



Board footer