Sha256: dcb00018f26e2ee06cd96bef78fb8c7364ad331063988e7d405de38638cc85f6
Contents?: true
Size: 368 Bytes
Versions: 320
Compression:
Stored size: 368 Bytes
Contents
// most Object methods by ES6 should accept primitives var $export = require('./_export') , core = require('./_core') , fails = require('./_fails'); module.exports = function(KEY, exec){ var fn = (core.Object || {})[KEY] || Object[KEY] , exp = {}; exp[KEY] = exec(fn); $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp); };
Version data entries
320 entries across 8 versions & 3 rubygems