English

what will be the output?

Advertisements

Question

<script type=“text/javascript”>
x = 6 + “3”;
document.write(x);
</script>

what will be the output?

Options

  • 6

  • 9

  • 63

  • Error

MCQ
Advertisements

Solution

63

shaalaa.com
Introduction of Conditional Statements in Java
  Is there an error in this question or solution?
Chapter 15: Control Structure in Javascript - Evaluation [Page 329]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 15 Control Structure in Javascript
Evaluation | Q 11. | Page 329
Advertisements
Share
Notifications



      Forgot password?
Use app×