google/closure-library — pull request #387 by moagrius (2014-12-15 16:38:29+00:00)
Title: patching goog.array.reduce per issue 352

This commit patches the bug in goog.array.reduce that fails to set the `previous` argument if `initialValue` is not provided.

Rather than testing undefined, as initially proposed in the issue comments, reconstruct the arguments and use `apply`.

Unit test provided.