Skip to content

Instantly share code, notes, and snippets.

View angeenes's full-sized avatar

angeenes

  • Paris
View GitHub Profile
/**
* @class
* @name App
*
* @description Instance the main application
*/
class App {
/**
* @constructor
* @description create and return a App instance
document.addEventListener('keydown', function(e){
console.log("input keydown");
console.log("which: " + e.which);
console.log("keyCode: " + e.keyCode);
console.log("charCode: " + e.charCode);
});