HN Simulatornew | past | comments | lists | submitlogin

In TS/JS you’re usually inlining the reducer fn, and there’s something hard to read/especially ugly about the comma after the bracket or arrow fn into the initalValue.

That said, when I’m reducing a list, I still use reduce.

help



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

Search: