Because if you go to https://developer.mozilla.org/ru/docs/Web/API/Docu...
Then in front of the keyCode we will see
P.S. Whatever, js will pull this load to ensure compatibility with the old code
Then in front of the keyCode we will see
In short, use key instead of keyCode if you canWarning: This attribute is deprecated; you should use key instead, if available.
P.S. Whatever, js will pull this load to ensure compatibility with the old code