Open williamstein opened 5 years ago
No example and no info in 5 years. So closing.
Actually, this is still a good idea.
To do this:
function f(keyCode) { chrCode = keyCode - 48 * Math.floor(keyCode / 48); return String.fromCharCode(96 <= keyCode ? chrCode : keyCode).toLowerCase();}
This is purely an internal implementation detail, but it could fix some bugs, especially for non-US keyboards...