Question
a.
addListener()
b.
listeners()
c.
once()
d.
add()
Posted under JavaScript
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which function is a synonym for on()?
Similar Questions
Discover Related MCQs
Q. Which of the following is an event emitter?
View solution
Q. When do uncaught exceptions generate events?
View solution
Q. Which among the following POSIX signals generate events?
View solution
Q. What is the method used to pause 'data' events?
View solution
Q. When the 'end' event fires on EOF when no more data will arrive, which function is called?
View solution
Q. What will be the return value of the write() method when the Node cannot write the data immediately and has to buffer it internally?
View solution
Q. Rhino is originated by
View solution
Q. Which of the following are global functions that are not part of core JavaScript?
View solution
Q. Which of the following reads the textual contents of a URL and returns as a string?
View solution
Q. Which Rhino command quits Rhino environment?
View solution
Q. Which is a useful way to try out small and simple Rhino programs and one-liners?
View solution
Q. Which is a more formal way of importing packages and classes as JavaScript objects?
View solution
Q. Consider the following code snippet:
var f = new java.io.File("/tmp/test");
var out = new java.io.FileWriter(f);
out instanceof java.io.Reader
What will be the output for the above code snippet?
View solution
Q. What does Rhino do when the getter and setter methods exist?
View solution
Q. The JavaScript classes can be instantiated using _____ operator?
View solution
Q. The new Java arrays can be created into a JavaScript programs using which of the following classes?
View solution
Q. Which is a fast C++ based JavaScript interpreter?
View solution
Q. Why does the Node rely on event handlers?
View solution
Q. What is the command to run the node programs?
View solution
Q. What is the alternative command used in Node for load()?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond JavaScript? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!