DEV: Use `key` over the deprecated `keyCode` (PR #13795)

Makes the code a bit more readable. Inspired by Stop using deprecated `keyCode` on `KeyboardEvent` by chancancode · Pull Request #19185 · emberjs/ember.js · GitHub

GitHub