Spread that out !
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For further actions, you may consider blocking this person and/or reporting abuse
Oumayma Es-saydy -
Somnath Singh -
Amitav Mishra -
Johnny Simpson -
Once suspended, drozerah will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, drozerah will be able to comment and publish posts again.
Once unpublished, all posts by drozerah will become hidden and only accessible to themselves.
If drozerah is not suspended, they can still re-publish their posts from their dashboard.
Discussion (4)
jsbench.me/g4jx2nffbo/1
Array.prototype.reduce() seems to be much faster.
Definitively slower to execute but half the time to write it :)
Depends what the codes for really.
Math.max()
is easier to read, and if only run occasionally on small arrays... fine.Reduce
is a little more convoluted, but still can be understood easily enough. The time savings on the code if running frequently or on larger datasets can quickly add up in benefits.Not if you use snippets!