Member-only story
[Part-2] 10 things to ‘really’ understand to become an effective JavaScript developer
7 min readJul 19, 2020
Welcome back, and glad you are finding this interesting. We have covered some important ground with the Event loop, Rest and Spread operators, Arrow functions, Destructuring in my Part-1 here. Let’s continue.
We will continue from where we left off <link> in terms of improving your foundations towards being a better Front-end engineer.
(5) Mutations
These are essential 5 concepts you should review and remember when it comes to managing primitives, value objects, and data properly in JavaScript. Because everything is passed around by reference (except primitives)!
- let, const, var, etc., and how does that apply to primitives and objects — we won’t discuss that here, but you can read more about that, here and another great one here.
- Also, on arrays, you need to know the difference between slice() and splice() — you can read more about that here.
- 3 ways to keep away from direct mutation of your application data — Spread, Destructuring, and Object.Assign() — You already know this, if you are reading this article!
- Pure functions — Do not write functions that change the original passed in reference objects and do not cause side-effects (we will…