Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block angeenes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keypressWhich.js
document.addEventListener('keydown', function(e){
console.log("input keydown");
console.log("which: " + e.which);
console.log("keyCode: " + e.keyCode);
console.log("charCode: " + e.charCode);
You can’t perform that action at this time.