• AlligatorBlizzard
    link
    fedilink
    arrow-up
    1
    ·
    3 months 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
      ·
      3 months ago

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