Sha256: 81ffebf14f235ab723aeeba7ca2b2a62eec084f843dd672e72b8c55c752157a0
Contents?: true
Size: 550 Bytes
Versions: 25
Compression:
Stored size: 550 Bytes
Contents
var $ = require('../internals/export'); var fails = require('../internals/fails'); var isObject = require('../internals/is-object'); var nativeIsExtensible = Object.isExtensible; var FAILS_ON_PRIMITIVES = fails(function () { nativeIsExtensible(1); }); // `Object.isExtensible` method // https://tc39.github.io/ecma262/#sec-object.isextensible $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { isExtensible: function isExtensible(it) { return isObject(it) ? nativeIsExtensible ? nativeIsExtensible(it) : true : false; } });
Version data entries
25 entries across 25 versions & 7 rubygems