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
10 episoder
Kommentarer
0Vær den første til at kommentere
Tilmeld dig nu og bliv en del af Oh, That's Why.-fællesskabet!