diff options
Diffstat (limited to 'node_modules/babel-register/node_modules/core-js/library/modules/es6.object.prevent-extensions.js')
-rw-r--r-- | node_modules/babel-register/node_modules/core-js/library/modules/es6.object.prevent-extensions.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/node_modules/babel-register/node_modules/core-js/library/modules/es6.object.prevent-extensions.js b/node_modules/babel-register/node_modules/core-js/library/modules/es6.object.prevent-extensions.js deleted file mode 100644 index 2f729181f..000000000 --- a/node_modules/babel-register/node_modules/core-js/library/modules/es6.object.prevent-extensions.js +++ /dev/null @@ -1,9 +0,0 @@ -// 19.1.2.15 Object.preventExtensions(O) -var isObject = require('./_is-object'); -var meta = require('./_meta').onFreeze; - -require('./_object-sap')('preventExtensions', function ($preventExtensions) { - return function preventExtensions(it) { - return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; - }; -}); |