Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 21 additions & 7 deletions source/release-notes/2.4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -678,17 +678,31 @@ abbreviated as ES5, adds many new language features, including:

- getters and setters.

With V8, MongoDB supports the latest standardized version of JavaScript
with the following exceptions. The following features do not work as expected
on documents returned from MongoDB queries:
With V8, MongoDB supports the ES5 implementation of Javascript with the
following exceptions.

- ``Object.seal()``,
.. note::

The following features do not work as expected on documents
**returned from MongoDB queries**:

- ``Object.seal()`` throws an exception on documents returned from
MongoDB queries.

- ``Object.freeze()`` throws an exception on documents returned from
MongoDB queries.

- ``Object.preventExtensions()`` incorrectly allows the addition of
new properties on documents returned from MongoDB queries.

- ``Object.freeze()``,
- ``enumerable`` properties, when added to documents returned from
MongoDB queries, are not saved during write operations.

- ``Object.preventExtensions()``, and
See :issue:`SERVER-8216`, :issue:`SERVER-8223`,
:issue:`SERVER-8215`, and :issue:`SERVER-8214` for more information.

- enumerable properties.
For objects that have not been returned from MongoDB queries, the
features work as expected.

Removed Non-Standard SpiderMonkey Features
``````````````````````````````````````````
Expand Down