diff options
Diffstat (limited to 'node_modules/core-js/modules/es6.object.seal.js')
-rw-r--r-- | node_modules/core-js/modules/es6.object.seal.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/core-js/modules/es6.object.seal.js b/node_modules/core-js/modules/es6.object.seal.js new file mode 100644 index 000000000..d7e4ea958 --- /dev/null +++ b/node_modules/core-js/modules/es6.object.seal.js @@ -0,0 +1,9 @@ +// 19.1.2.17 Object.seal(O) +var isObject = require('./_is-object') + , meta = require('./_meta').onFreeze; + +require('./_object-sap')('seal', function($seal){ + return function seal(it){ + return $seal && isObject(it) ? $seal(meta(it)) : it; + }; +});
\ No newline at end of file |