Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
beiller
· 6y ago · 0 comments
The javascript example of list.reduce((x,y)=>Math.max(x,y)) should have been just Math.max(...list)
Comments
[–]
saagarjha
6y ago
Suggested already, with a rebuttal:
https://news.ycombinator.com/item?id=22523151
[–]
codegladiator
6y ago
> list.max(Math.ordering)