Better HN
topnewbestaskshowjobs
Log inSign up

fangaorne

2 karma · joined Apr 27, 2018 (8y ago) · 1 submissions

Submissions

comment 8y ago · link · parent

Although this method is pretty, I see 4 loops in this small line. a better way would be to only import the range method from lodash like so :

    import _range from "lodash/range";