title: Promise. What is the difference between return resolve() and resolve()?
body: <p>somewhere read this example:</p>
  
  <pre><code>return new Promise( (resolve, reject) =&gt; {
    fs.readFile(file, (err, data) =&gt; {
      if (err) reject(err)
      return resolve(data)
    })
  })
  </code></pre>
  
  <p>but I usually do this:</p>
  
  <pre><code>return new Promise( (resolve, reject) =&gt; {
    fs.readFile(file, (err, data) =&gt; {
      if (err) reject(err)
      resolve(data)
    })
  })
  </code></pre>
  
  <p>is there a difference?</p>