Sha256: 6f74b7d0d10c8faca63dc90750a460e2e344cb2ba3c6e3b3c9821906ef13a635

Contents?: true

Size: 333 Bytes

Versions: 320

Compression:

Stored size: 333 Bytes

Contents

// 19.1.2.15 Object.preventExtensions(O)
var isObject = require('./_is-object')
  , meta     = require('./_meta').onFreeze;

require('./_object-sap')('preventExtensions', function($preventExtensions){
  return function preventExtensions(it){
    return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;
  };
});

Version data entries

320 entries across 8 versions & 3 rubygems

Version Path
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-external-helpers/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-syntax-async-functions/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-syntax-function-bind/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-async-to-generator/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-arrow-functions/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-arrow-functions/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-block-scoping/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-classes/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-computed-properties/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-computed-properties/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-duplicate-keys/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-duplicate-keys/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-for-of/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-function-name/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-get-function-arity/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-modules-commonjs/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-object-super/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-object-super/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-shorthand-properties/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-check-es2015-constants/node_modules/core-js/library/modules/es6.object.prevent-extensions.js