• xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    7
    ·
    12 hours ago

    Javascript:

    I heard you like mutating class data so I’m mutating the data you can put in your class data, dawg.

    • Zagorath@aussie.zone
      link
      fedilink
      arrow-up
      1
      ·
      5 hours ago

      To be fair to JavaScript (I feel gross just saying that), it does have the ability to do some more functional-like programming as well. For example, many of its more recent array methods like filter, map, and reduce are pure functions.