Vidyalelo
JavaScript · Q102

Document Object Model And Event Handling

Programming · JavaScript · question 102

Q102

How does a user generate multiple keydown events?

A.
Repeating the same process
B.
Pressing multiple keys
C.
Pressing the key longer than usual
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
If the user holds the key down long enough for it to begin repeating, there will be multiple keydown events before the keyup event arrives.