title: JavaScript - CTRL KeyCode of 17 does not work?
body: <p>I'm making an application that needs to detect whether or not the <kbd>CTRL</kbd> key was pressed.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>    document.addEventListener('keydown', function(event) {
      if (event.keyCode != 13 || event.keyCode != 38 || event.keyCode != 40 || event.keyCode != 17)
          {
              // execute this
          }
  </code></pre>
  
  <p>(The <kbd>CTRL</kbd> key is the last keycode in that if statement.)</p>
  
  <p>After searching the internet it says to use 17 as the keycode, but it is still EXECUTING "// Execute this" if i press <kbd>CTRL</kbd>. 
  It's not supposed to execute it.</p>
  
  <p>All other keys work properly in the if statement, and I'm using Chrome 31 stable/official.</p>
  
  <p>I am also using 'keydown' and not 'keypress' as you can see.</p>
  
  <p>Thanks in advance for help!</p>