title: When to use next() and return next() in Node.js
body: <p><strong>Scenario</strong>: Consider the following is the part of code from a node web app.</p>
  
  <pre><code>app.get('/users/:id?', function(req, res, next){
      var id = req.params.id;
      if (id) {
          // do something
      } else {
          next(); //or return next();
      }
  });
  </code></pre>
  
  <p><strong>Issue</strong>: I am checking which one to go with just <code>next()</code> or <code>return next()</code>. Above sample code works exactly the same for both &amp; did not show any difference in execution. </p>
  
  <p><strong>Question</strong>: Can some one put light on this, when to use <code>next()</code> and when to use <code>return next()</code> and some important difference?</p>