Array.prototype.{reduce, reduceRight}: Wrong order of operations when determining...
authorwingo@igalia.com <wingo@igalia.com>
Wed, 22 Oct 2014 13:13:19 +0000 (13:13 +0000)
committerwingo@igalia.com <wingo@igalia.com>
Wed, 22 Oct 2014 13:13:19 +0000 (13:13 +0000)
commit6c9bab5c7422cf257252f84746177504ecfea6e4
treeb5a51dbc8a254b024d6ac03182f7d36e938e2e93
parent5680786c211801ad5e291b549df434b51221671a
Array.prototype.{reduce, reduceRight}: Wrong order of operations when determining initial value.

BUG=v8:3534
LOG=
R=svenpanne@chromium.org, wingo@igalia.com

Review URL: https://codereview.chromium.org/614733002

Patch from Diego Pino <dpino@igalia.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24807 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/array.js
test/mjsunit/array-reduce.js