title: Can someone give an example on how a promise in Node.js is better than using a callback function?
body: <p>According to IBM, promises are a compelling alternative to callbacks.</p>
  
  <p>Apart from the syntax difference, how does a promise differ from a callback function and what are the benefits of using a promise?</p>