• madeindjs
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    For example, all of the list abstractions (map, filter, reduce, etc.) will copy the array to a new list every time you chain them.

    This methods were added to generator recently. So you can avoid copying the array in memory.

    All this is also without even getting started on the million JS frameworks and libraries which make it really easy to have vendor lock-in and version lock-in at the same time

    In my opinion, it’s also what make JS good. There a package for almost everything.