• Cyyy@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    yupp, and i hate that. i use a firefox version that don’t supports private fields, and because a common js lib uses them a lot of websites suddenly stopped working for me just because of this bs. instead of just using a normal variable they use private fields and kill a ton of older browsers by doing so. and most website owners don’t care so asking them just leads to them saying “just upgrade bro”.

    • redcalcium@lemmy.institute
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      private fields

      Man, javascript is starting to turn into java, isn’t it? They added encapsulation. What else they’re going to add?