All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.modules._object-sap.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
// most Object methods by ES6 should accept primitives
var $export = require('./_export');
var core = require('./_core');
var fails = require('./_fails');
module.exports = function (KEY, exec) {
  var fn = (core.Object || {})[KEY] || Object[KEY];
  var exp = {};
  exp[KEY] = exec(fn);
  $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy