Sha256: 3ff2b166ecc7d9bac3713ff6caff147ae576999e3a26422810bd1ebd94d05c51
Contents?: true
Size: 352 Bytes
Versions: 4
Compression:
Stored size: 352 Bytes
Contents
'use strict'; var isPrototypeOf = require('../../internals/object-is-prototype-of'); var method = require('../array/virtual/reduce'); var ArrayPrototype = Array.prototype; module.exports = function (it) { var own = it.reduce; return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reduce) ? method : own; };
Version data entries
4 entries across 4 versions & 1 rubygems