title: What javascript methods are available in mongo?
body: <p>This is a general question and what i'm looking for here is a link to some resource.  </p>
  
  <p>Explanation:</p>
  
  <p>I recently figured out how to run a mongo shell script (refer to this post: <a href="https://stackoverflow.com/questions/26389424/cant-make-basic-mongo-shell-script-with-authentication/26391836#26391836">can&#39;t make basic mongo shell script with authentication</a>) and in doing this i realized that the javascript methods available via the mongo shell are not the same as the ones i use in the browser.  So my question is, where can i find a list of all available methods?  </p>
  
  <p>Please also note that i have already looked here: <a href="http://docs.mongodb.org/manual/reference/method/" rel="nofollow noreferrer">http://docs.mongodb.org/manual/reference/method/</a> While this is useful it is clearly not a complete list because it doesn't include the core javascript functionality such as for loops and methods like printjson().</p>