The Keyboard Event Properties
We'll cover the following...
When an event handler that reacts to a keyboard event is called, a Keyboard event argument is passed in. Let’s revisit our dealWithKeyboard
event handler that you saw earlier. In that event handler, the keyboard event is represented by the e
argument that is passed in:
Press + to interact
function dealWithKeyboard(e) {// gets called when any of the keyboard events are overheard}
...