Sha256: 7fb865e155e343a0fa71f9ac39135c73ad75e25b2af18a7c9c4ee9992fee0497

Contents?: true

Size: 334 Bytes

Versions: 82

Compression:

Stored size: 334 Bytes

Contents

// 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;
  };
});

Version data entries

82 entries across 38 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.60 node_modules/core-js/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.59 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.59 node_modules/core-js/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.58 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.58 node_modules/core-js/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.57 node_modules/core-js/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.57 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.56 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.56 node_modules/core-js/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.55 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.55 node_modules/core-js/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.54 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.54 node_modules/core-js/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.53 node_modules/core-js/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.53 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.52 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.52 node_modules/core-js/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.51 node_modules/core-js/library/modules/es6.object.prevent-extensions.js
immosquare-cleaner-0.1.51 node_modules/core-js/modules/es6.object.prevent-extensions.js