Examveda
Examveda

What value does the keyCode property holds when a Shift key is pressed for adding punctuation character?

A. Special characters

B. Alphabets

C. Alphanumeric

D. Digits

Answer: Option D

Solution(By Examveda Team)

The number keys always generate keyCode values for the digit that appears on the key, even if you are holding down Shift in order to type a punctuation character.

Join The Discussion

Related Questions on Document Object Model and Event Handling