title: javascript return new Promise: short syntax
body: <p>When working with asynchronious javascript every second function looks like this:</p>
  
  <pre><code>function_name()
  {
      return new Promise((resolve,reject) =&gt; {
         // do some async task
         resolve();
      });
  }
  </code></pre>
  
  <p>Even with es6 async/await I cannot avoid the part "return new Promise((resolve,reject) => { ...".</p>
  
  <p>Is there another way of writing such code without all those duplicated lines?</p>
  
  <p>Thanks.</p>