UNUmid Negmatullayevinumid.me·May 7, 2021 · 6 min readWhy Immutability is important in JavaScript?In JavaScript, Primitive data types (numbers, strings, etc) are immutable but when it comes to objects and arrays they are mutable, please do not think that if you declare your objects and arrays with const it will be constant which is unchangeable: ...00
UNUmid Negmatullayevinumid.me·Apr 10, 2021 · 2 min readFunctions are first-class objects.In JavaScript, functions are first-class objects (first-class citizens) where they are treated like any other variable. Functions can be stored in variables, can be passed as parameters in other functions, and can be returned from other functions. 1....03ASE