Vidyalelo
JavaScript · Q106

Document Object Model And Event Handling

Programming · JavaScript · question 106

Q106

Which of the following key property holds the key name as a string?

A.
keyName
B.
key
Answer
C.
keyName(string)
D.
Nameofkey(string)

Answer: Option B

Solution

Answer: Option B
Solution:
The DOM Level 3 Events defines a new key property that contains the key name as a string.