title: Do I need to pass null as an argument for optional parameters in Javascript functions/methods?
body: <p>Do I need to pass null as an argument for optional parameters?</p>
  
  <p>For an example I have included code from the Mongoose documentation:</p>
  
  <pre><code>Model.find(conditions, [projection], [options], [callback])
  
  // Example use
  // passing options and executing immediately
  MyModel.find({ name: /john/i }, null, { skip: 10 }, function (err, docs) {});
  </code></pre>
  
  <p>I have been successfully utilizing this method and other similar methods without passing null as the second argument, but I would like to know if this will get me into trouble down the road?</p>
  
  <p>I have found some related questions, but they do not seem to be specific to optional parameters. Any insight is much appreciated.</p>