JavaScript is a funny language. If we declare a primitive variable with const and try mutating(modifying) it, we'll get an error. Well, that's expected behavior. However, if we declare an array or an object with const and try modifying one of its pro...

Markdown supported · ⌘↵ to post
This explanation is superb and very detailed. Thanks.
Abhay Gupta
Great read! Got to learn so many new things.