JavaScript语言中心

MongoDB:

  • Can be used by clients written in JavaScript.
  • Uses JavaScript internally on the server-side for certain options, such as map/reduce.
  • Has a shell that is based on JavaScript.

node.JS and V8

See Node.js语言中心.

SpiderMonkey

The MongoDB shell extends SpiderMonkey. See the MongoDB shell documentation.

MongoDB Server-Side JavaScript

JavaScript may be executed in the MongoDB server processes for various functions, such as query enhancement and map/reduce processing. See Server-side Code Execution.