How to Find What Key Has Been Pressed in jQuery

The script below will console log the keys that have been pressed: