Variables as Pointers & Mutability in JavaScript

preview_player
Показать описание
In week 5 of the JS workshop series, we explore:

- What mutability means, and how an array or object is mutated
- Using built-in JavaScript methods to mutate arrays and objects
- Variables as pointers, the difference between reassigning and mutating an array or object
- Pass-by-value and pass-by-reference: passing arrays or objects into functions
- Array and object oddities that may affect our program in unexpected ways

Рекомендации по теме
welcome to shbcf.ru