Skip to content

DOCS-1135 V8 highlight the features with exceptions #709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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