Oh, That's Why.
You pass an object into a function. The function changes one property. You never returned anything. The original changed anyway. In the Season 2 opener, Alex Vega explains why through the Post-it and home address analogy — the most fundamental distinction in how JavaScript stores data. Accidental mutation, confusing const behavior, and broken equality checks all make complete sense by the end. You can find the Medium article here [https://medium.com/@gize.bonilla/8c5b38cac7bf]. Oh, That's Why. — JavaScript, finally making sense. #JavaScript, #Web Development, #Programming, #Software Engineering, #Learning to Code
11 episodes
Comments
0Be the first to comment
Sign up now and become a member of the Oh, That's Why. community!