Web technologies Questions | JavaScript Course Quiz 2 | Question 10

Last Updated :
Discuss
Comments
What will be the output of the following code? Javascript
 <script>     var x = [typeof x, typeof y][1];     document.write(typeof typeof x);  </script> 
undefined
string
number
boolean
Share your thoughts in the comments