Home / Programming MCQs / JavaScript MCQs / Question
M
Q. Which is the method used to add an event listener?
The addEventListener() method is used to add an event listener to the script.
You must be Logged in to update hint/solution
Which algorithm supports blobs?
Consider the following code snippet : if (!a[i]) continue ; What is the observation made ?
What will be the output of the following code snippet?
What is the function of the parseInt() method?
What we will get if we compare the "one" with "8" using the less than operator ("one"<8)?
Which one of the following is correct output for the following given JavaScript code:
Which of the following are javaScript reserved words?
What will be printed in the console on execution of the below JavaScript code?
Discusssion
Login to discuss.