KeyCode was deprecated for its inconsistency across platforms. Only a few browsers still support KeyCode. Also, an alternative for it is the ‘.key‘ property. Browsers with developer features are the ...
The event properties which, keyCode, and charCode are all removed from the Web standards. See the deprecation notice on MDN below: https://developer.mozilla.org/en-US ...