Question
<html>
<body>
<script type="text/javascript">
<!--
document.print("Hello");
//-->
</script>
</body>
</html>
a.
Will Throw Error
b.
Hello
c.
Will not print anything because of Comment
d.
None of These
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 the Output of the below Code ?
Similar Questions
Discover Related MCQs
Q. Which was the first browser to support JavaScript ?
View solution
Q. JavaScript is invented by ________.
View solution
Q. JavaScript was invented at _______ Lab .
View solution
Q. JavaScript was originally developed under the name _______.
View solution
Q. In March 1996, _______________ was released, featuring support for JavaScript.
View solution
Q. Microsoft Developed a compatible dialect of JavaScript called _____________.
View solution
Q. Executable single line of Script is called as _________________.
View solution
Q. JavaScript Statements are executed by ________ .
View solution
Q. Java Statement terminated by ______________ .
View solution
Q. JavaScript code contain sequence of ___________.
View solution
Q. Which of the following statement is used to declare variable in JavaScript ?
View solution
Q. ____________ is used to assign value to the variable.
View solution
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
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!