title: IE10 Javascript "Function Expected"
body: <p>This code is giving me a <code>SCRIPT5002: Function expected</code> error:</p>
  
  <pre><code>var callIt = function(func) { func(); }
  </code></pre>
  
  <p>WHY!? It's like it's trying to do type checking or something</p>
  
  <p>EDIT: use case</p>
  
  <pre><code>var callIt = function(func) { func(); }
  function nextSlide() {
      var fn = currSlide ? currSlide.hide : callIt;
      currSlide = setupSlides[++slideIdx];
      fn(currSlide.show());
  }
  </code></pre>
  
  <p>DOH!</p>