MongoDB:
Changed in version 2.4: MongoDB and the mongo shell use V8 for all JavaScript execution. Previously, MongoDB used SpiderMonkey for all JavaScript execution.
The MongoDB shell extends V8. See the MongoDB shell documentation.
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.