title: should i use `return` in Promise?
body: <pre><code>function saveToTheDb(value) {  
    return new Promise(function(resolve, reject) {
      db.values.insert(value, function(err, user) { // remember error first ;)
        if (err) {
          return reject(err); // don't forget to return here
        }
        resolve(user);
      })
    }
  }
  </code></pre>
  
  <p>Here is the code which i see from <a href="https://blog.risingstack.com/asynchronous-javascript/" rel="noreferrer">here</a>.
  i am confused about <code>return</code> keyword.</p>
  
  <p>For <code>resolve(user);</code>, do i need <code>return</code>?</p>
  
  <p>For <code>reject(user);</code>,  do i need <code>return</code>?</p>