Operations in JavaScript with immutable arrays
As mentioned many times before, I always try to keep my variables immutable when developing. Let's take a closer look at how we accomplish immutable arrays in JavaScript when adding, replacing or removing elements. We start with an array of birds:
const birds = ["Great tit", "Blue tit", "Pine grosbeak", "Stock dove"]
