Sha256: d7351c08a3a872e80a2d8206e94a0e816e2ba2b5c36aa2d0b15fd983667cc745
Contents?: true
Size: 563 Bytes
Versions: 12
Compression:
Stored size: 563 Bytes
Contents
'use strict'; var $ = require('../internals/export'); var $reduceRight = require('../internals/array-reduce').right; var sloppyArrayMethod = require('../internals/sloppy-array-method'); // `Array.prototype.reduceRight` method // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright $({ target: 'Array', proto: true, forced: sloppyArrayMethod('reduceRight') }, { reduceRight: function reduceRight(callbackfn /* , initialValue */) { return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); } });
Version data entries
12 entries across 12 versions & 4 rubygems