Sha256: b25cb0951a2d93fa13214a68aafd85364427e94e396386f868c6fce68a433cf3

Contents?: true

Size: 744 Bytes

Versions: 13

Compression:

Stored size: 744 Bytes

Contents

'use strict';
var $ = require('../internals/export');
var DESCRIPTORS = require('../internals/descriptors');
var FORCED = require('../internals/object-prototype-accessors-forced');
var toObject = require('../internals/to-object');
var aFunction = require('../internals/a-function');
var definePropertyModule = require('../internals/object-define-property');

// `Object.prototype.__defineGetter__` method
// https://tc39.github.io/ecma262/#sec-object.prototype.__defineGetter__
if (DESCRIPTORS) {
  $({ target: 'Object', proto: true, forced: FORCED }, {
    __defineGetter__: function __defineGetter__(P, getter) {
      definePropertyModule.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true });
    }
  });
}

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/core-js/modules/es.object.define-getter.js
tang-0.2.1 spec/tang_app/node_modules/core-js/modules/es.object.define-getter.js
tang-0.2.0 spec/tang_app/node_modules/core-js/modules/es.object.define-getter.js
tang-0.1.0 spec/tang_app/node_modules/core-js/modules/es.object.define-getter.js
tang-0.0.9 spec/tang_app/node_modules/core-js/modules/es.object.define-getter.js
enju_library-0.3.8 spec/dummy/node_modules/core-js/modules/es.object.define-getter.js
condenser-0.3 lib/condenser/processors/node_modules/core-js-pure/modules/es.object.define-getter.js
condenser-0.2 lib/condenser/processors/node_modules/core-js-pure/modules/es.object.define-getter.js
condenser-0.1 lib/condenser/processors/node_modules/core-js-pure/modules/es.object.define-getter.js
condenser-0.0.12 lib/condenser/processors/node_modules/core-js-pure/modules/es.object.define-getter.js
condenser-0.0.11 lib/condenser/processors/node_modules/core-js-pure/modules/es.object.define-getter.js
condenser-0.0.10 lib/condenser/processors/node_modules/core-js-pure/modules/es.object.define-getter.js
condenser-0.0.9 lib/condenser/processors/node_modules/core-js-pure/modules/es.object.define-getter.js