R
Q. What is the output of below Javascript code if user keeps the default value of prompt box?
<script> var question = "Your species?"; var defaultAns = "human"; var out = prompt(question, defaultAns); document.write(out); </script>
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. How many WebSocket events are available?
Q. When will the window property come into play?
Q. What will the following code snippet work? If not, what will be the error?
Q. What if you use parseInt() to convert a string containing decimal value?
Q. Which method of the iterable object returns an iterator object for the collection?
Q. What will happen if the fvonly parameter is set to 1?
Q. What will be the output of the following JavaScript code?
Discusssion
Login to discuss.