title: How to detect keypress event in browser console?
body: <p>Can we detect keypress events in browser console? If so, how?</p>
  
  <pre><code>window.addEventListener( 'keyup', function (e) {
    if ( e.keyCode == 13 ) {
      // Should log the message, if user presses 'enter' key, in browser console?
      console.log('Hello World');
    }
  });
  </code></pre>
  
  <p>P.S Can we add an eventListener to browser's console?</p>