News for hackers. Stuff that matters.

fangaorne

Re:JavaScript Pattern Matching Proposal on Friday April 27, 2018 @04:39AM (#16939294)
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";