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-transform-regenerator/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-strict-mode/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-register/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-register/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-replace-supers/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-replace-supers/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helpers/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-remap-async-to-generator/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-types/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helpers/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-remap-async-to-generator/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-types/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-register/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-register/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-template/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-polyfill/node_modules/core-js/library/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-optimise-call-expression/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-polyfill/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-template/node_modules/core-js/modules/es6.object.prevent-extensions.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-regenerator/node_modules/core-js/modules/es6.object.prevent-extensions.js