event.location property returns a number that indicates the location of a key on the keyboard or other input device.
Note: This property is read-only.
The following table is based on a standard 101 key US keyboard.
When "A", "SPACE", "3 (on the top of alphabets side)" keys are pressed.
When left hand side "ctrl", "alt", "shift", "cmd", "windows" keys are pressed.
When right hand side "ctrl", "alt", "shift", "cmd", "windows" keys are pressed.
When numbers like "1", "2" on the numeric keypad are pressed.
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.