3. VALORES vs REFERENCIAS en JAVASCRIPT | JS en ESPAÑOL

🐞 Many, MANY BUGS are caused by not fully understanding the difference between VALUES and REFERENCES in JAVASCRIPT 🐞 Have you ever wondered what happens when we assign one variable to another in JavaScript? Is a link created between these variables? Or are they completely independent? And what about when we pass it as a parameter and its value is modified within the function? Are we modifying the original variable? Understanding when variables are copied as values ​​and when they are copied as references is key to growing as a JavaScript developer. VALUES vs. REFERENCES is #3 of the 33 concepts you should know if you want to work professionally with JavaScript. In this video, we'll first look at how variables are stored in computer memory when using this programming language. First, we'll see what happens when we assign one variable to another. And then we'll discover what happens when we pass a variable as a parameter to a function. We'll learn how and where objects are stored in memory when we program in JavaScript. And finally, we'll discover that this concept is also related to another very important concept... My name is Sacha and... you're in The Code Kitchen! ☕️ Buy me a coffee: https://cafecito.app/lacocinadelcodigo SUBSCRIBE so you don't miss any of the videos. 33 Concepts Every Javascript Developer Should Know 🔗 https://github.com/leonardomso/33-js-...