Which of the following key property holds the key name as a string?
A
keyName
B
key
C
keyName(string)
D
Nameofkey(string)
Correct Answer: key
The DOM Level 3 Events defines a new key property that contains the key name as a string. Object.keys() returns an array whose elements are strings corresponding to the enumerable properties found directly upon object.