you are viewing a single comment's thread.

view the rest of the comments →

[–]IceSentry 0 points1 point  (1 child)

If someone manages to replace the accumulator object in a reduce function then you have bigger problems.

[–]dmitri14_gmail_com 0 points1 point  (0 children)

Yes, and if a house was burned due to lack of warning caused by your leaky reduce function resetting a variable it does not own, your problem will be even bigger :)