Open mrkwanzaa opened 1 year ago
When cloning a cluster in _map the assign function only shallow clones an object, copying sub-objects or arrays by reference. This can result in mutations to the original object when the accumulator is mutated in reduce.
_map
reduce
When cloning a cluster in
_map
the assign function only shallow clones an object, copying sub-objects or arrays by reference. This can result in mutations to the original object when the accumulator is mutated inreduce
.