• Lupec@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    5 hours ago

    I am not sure if JS has something similar, but this often helps by a lot

    It does, the some/every array methods would achieve the same results. I use them quite often myself!