title: Simple new + then for Q promises
body: <p>I'm trying to use <code>Q</code> Promise implementation, but am facing strange inconsistency.</p>
  
  <p>When I run in Chrome m33, the following code:</p>
  
  <pre><code>new Promise(function(resolve, reject) {
      resolve(1);
  }).then(function(value) {
      console.log(value);
  });
  </code></pre>
  
  <p>It works just as I expect - it returns another <code>Promise</code> and logs <code>1</code>.</p>
  
  <p>But if I call the same code wrapped into <code>(function (Promise) { ... }(window.Q));</code>, I see body of <code>resolve</code> callback in console, instead of a value.</p>
  
  <p><a href="http://jsfiddle.net/a5h6R/2/" rel="nofollow">Fiddle to look at</a> - works in Chrome and Aurora.</p>
  
  <p>Am I missing something or is it a bug in the library?</p>
  
  <p>PS: <code>Q</code> version <code>1.0.0</code></p>