title: Difference between resolve and return in promise JS
body: <pre><code>var p1 = new Promise (function (res, rej){
      res(42);
  }).then((result) =&gt; {return result;});
  </code></pre>
  
  <p>**If I have ** <code>return result</code>,</p>
  
  <p>is this promise resolved or not?  What does a "resolved promise" mean?</p>