Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The javascript example of list.reduce((x,y)=>Math.max(x,y)) should have been just Math.max(...list)


Suggested already, with a rebuttal: https://news.ycombinator.com/item?id=22523151


> list.max(Math.ordering)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: