• AlligatorBlizzard
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Wait, does list.isEmpty() work in any language? That would have been really helpful for my JavaScript code earlier today, but much to my disappointment that doesn’t seem to work in JS.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      It works in relatively many languages, particularly more modern ones, but JavaScript unfortunately doesn’t have it…