From 9591fb2861f136ea566f3e7badc2c4da3bd3495d Mon Sep 17 00:00:00 2001 From: kay Date: Thu, 7 Mar 2013 15:38:59 -0500 Subject: [PATCH] DOCS-1135 V8 highlight the features with exceptions --- source/release-notes/2.4.txt | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/source/release-notes/2.4.txt b/source/release-notes/2.4.txt index 0d3be6af76f..c5430bd4347 100644 --- a/source/release-notes/2.4.txt +++ b/source/release-notes/2.4.txt @@ -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 ``````````````````````````````````````````