title: coffee script testing if not defined
body: <p>according to the coffee script site </p>
  
  <pre><code>console.log(s) if s?
  </code></pre>
  
  <p>should generate</p>
  
  <pre><code>if (typeof s !== "undefined" &amp;&amp; s !== null) {
      console.log(s);
  }
  </code></pre>
  
  <p>But what is showing up in my browser is  </p>
  
  <pre><code>  if (s != null) {
        return console.log(s);
    }
  </code></pre>
  
  <p>Using coffee-script-source (1.6.2), coffee-rails (3.2.2), rails-backbone (0.7.2), rails (3.2.13)</p>
  
  <p>Here is my coffee script function.  any thoughts on why I am not getting what coffee script site says I should??</p>
  
  <pre><code>window.p = (s) -&gt;
      console.log(s) if s?
  </code></pre>