I have seen @PathakPratik comment here about using a JS library for keyboard shortcuts but I thought since there won't be too many shortcuts and it's only going to be used within playground.js, it will be better to use plain JavaScript as its less code and easier to maintain.
Added 2 Keyboard shortcuts within Playground.
CTR+Enter = Run Code CTRL+ALT+R = Reset
I have seen @PathakPratik comment here about using a JS library for keyboard shortcuts but I thought since there won't be too many shortcuts and it's only going to be used within playground.js, it will be better to use plain JavaScript as its less code and easier to maintain.