Skip to content

Commit 82a73b1

Browse files
kay-kimSam Kleinman
authored andcommitted
DOCS-1135 V8 highlight the features with exceptions
Signed-off-by: Sam Kleinman <[email protected]>
1 parent ff0a6a8 commit 82a73b1

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

source/release-notes/2.4.txt

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -678,17 +678,31 @@ abbreviated as ES5, adds many new language features, including:
678678

679679
- getters and setters.
680680

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

685-
- ``Object.seal()``,
684+
.. note::
685+
686+
The following features do not work as expected on documents
687+
**returned from MongoDB queries**:
688+
689+
- ``Object.seal()`` throws an exception on documents returned from
690+
MongoDB queries.
691+
692+
- ``Object.freeze()`` throws an exception on documents returned from
693+
MongoDB queries.
694+
695+
- ``Object.preventExtensions()`` incorrectly allows the addition of
696+
new properties on documents returned from MongoDB queries.
686697

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

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

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

693707
Removed Non-Standard SpiderMonkey Features
694708
``````````````````````````````````````````

0 commit comments

Comments
 (0)