Question
var message="Hello JS";
document.write(Message);
a.
It will crash browser since No Error handler is provided
b.
Hello JS
c.
"Hello JS" will be printed multiple times
d.
Nothing Will be printed because Code is not error free
Posted under Web Technologies
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What will be printed inside webpage ?
Similar Questions
Discover Related MCQs
Q. Multiple JS statements are written inside pair of ________ to form a statement block.
View solution
Q. Group of JavaScript Statements is called as _________.
View solution
Q. Single Line Comment in JavaScript Starts with _________ Symbol.
View solution
Q. Which of the following is considered as End of Single line comment ?
View solution
Q. Comments in JS are ignored by ____________.
View solution
Q. Comment Statement is _________________ type of statement.
View solution
Q. JS Comment can be used for following purposes -
View solution
Q. Which of the statement will be neglected by Browser ?
View solution
Q. Person XYZ wrote his name and date of code creation at the start , What kind of comment he has written ?
View solution
Q. In multiple line comment , End of the comment is specified by ________ Symbol.
View solution
Q. Which of the following is not a compound assignment operator ?
View solution
Q. If a string cannot be converted to a number __________ will be returned.
View solution
Q. If the values on either side of '+' operator are numerical values then ___________.
View solution
Q. During addition of two numbers , suppose one of the number is NaN then output of the following code will be ?
View solution
Q. +Infinity in JS gets added with +Infinity then output of the code will be
View solution
Q. -Infinity in JS gets added with -Infinity then output of the code will be
View solution
Q. -Infinity in JS gets added with +Infinity then output of the code will be
View solution
Q. Variable can hold ________ value at a time.
View solution
Q. Integer Variable is declared using following syntax in JavaScript.
View solution
Q. We can declare ___________ at a time. Select most appropriate option.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Web Technologies? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!