title: three button keyCode hotkey javascript
body: <p>From another stackoverflow post (<a href="https://stackoverflow.com/questions/2511388/how-can-i-add-a-javascript-keyboard-shortcut-to-an-existing-javascript-function">How can I add a JavaScript keyboard shortcut to an existing JavaScript Function?</a>) I have this hotkey code:</p>
  
  <pre><code>function doc_keyPress(e) {
      if (e.shiftKey &amp;&amp; e.keyCode == 80) {
         //do something
      }
  }
  
  document.addEventListener('keyup', doc_keyPress, false);
  </code></pre>
  
  <p>which works with two keys. But with three keys, shift + l + m for example, it does not work.</p>
  
  <p>the if statement would be:</p>
  
  <pre><code>if (e.shiftKey &amp;&amp; e.keyCode == 76 &amp;&amp; e.keyCode == 77) {}
  </code></pre>
  
  <p>again this does not work.</p>
  
  <p>How do I get this working for shift + l + m.</p>