ga-wdi-boston / js-array-iteration-methods

JavaScript Array methods
Other
1 stars 160 forks source link

reduce function doesn't take array #6

Closed RealWeeks closed 8 years ago

RealWeeks commented 8 years ago

self explanatory.

jrhorn424 commented 8 years ago

Line number and file?

jrhorn424 commented 8 years ago

I think you might have missed the fact that developers write their own versions of some array methods. We don't want them overriding Array.prototype, so they have to pass arrays they want to mutate.

We'll explore and implement proxies for a variety of the JavaScript Array methods. https://github.com/ga-wdi-boston/js-array-methods/commit/79903b2b005bbe5e643915b6dd60651148b12d30#diff-04c6e90faac2675aa89e2176d2eec7d8R15

laurenfazah commented 8 years ago

Should this be an open issue? @J-Weeks @jrhorn424

gaand commented 8 years ago

@laurenfazah I think not. But @J-Weeks should confirm

jrhorn424 commented 8 years ago

I believe this is a duplicate of #9

gaand commented 8 years ago

I think it might have been the mirror of a duplicate. :-P.

9 is the issue the other side of the mirror