Key properties

On this page I test the existence of key properties.

I registered the keydown and keyup events on the document and on the first textarea. I added click because of Safari.
The second textarea serves as a log. I didn't register keypress to keep the example simple.

Log:
altKey altLeft ctrlKey ctrlLeft metaKey shiftKey shiftLeft
keyCode modifiers repeat which