Hoppa till innehållet
Global sound
Oh, That's Why.

Oh, That's Why.

EP15 — The 'this' Keyword — Part 1

· 12 min · Säsong 2 Avsnitt 15

Avsnittsbeskrivning

The same function can give a completely different value of 'this'
depending on nothing more than how you called it. Not where you
wrote it — how you called it.

In this episode, Alex Vega explains the four binding rules that
determine 'this' — default, implicit, explicit, and new — and the
strict priority order between them, through the analogy of the word
"here." Plus the most common 'this' bug in all of JavaScript:
losing it in a callback.

Oh, That's Why. — JavaScript, finally making sense.

You can find the Medium article here.

#JavaScript, #Web Development, #Programming, #Software…

Webbplats: podcasters.spotify.com

Live, senaste timmen: 15 549 låtar på 6 184 stationer i 146 länder

Upptäck världen genom radion

Fler sätt att upptäcka (9)

Hört något bra? Spara det, eller öppna det direkt i Spotify.

★ Artist of the week The fastest riser on the radio this week
Your song here? From € 9 per week →
Trend Digital RadioFortsätt lyssna