aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/data.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.js b/src/data.js
index dfd8555a0..585d78b20 100644
--- a/src/data.js
+++ b/src/data.js
@@ -29,10 +29,10 @@ Data.prototype = {
// If not, create one
if ( !unlock ) {
unlock = Data.uid++;
- descriptor[ this.expando ] = { value: unlock };
// Secure it in a non-enumerable, non-writable property
try {
+ descriptor[ this.expando ] = { value: unlock };
Object.defineProperties( owner, descriptor );
// Support: Android<4