1.

What will be the output of the following code?<script>let age = 20;let result = age>18 ? 'Great' : 'Not so great';document.write(result);</script>(A) Great(B) Not so great(C) true(D) None of the above

Answer»


Discussion

No Comment Found

Related InterviewSolutions