Myvideo

Guest

Login

Что делает JavaScript таким странным и восхитительным Pt 4

Uploaded By: Myvideo
24 views
0
0 votes
0

Scope and Context are in every language, but because Javascript is always firing callbacks and running asynchronous tasks, it’s easy to lose sight of what scope & context you’re in. Scope and context are not the same thing. Scope is variable access - what variables the current piece of code has access to, context is the value of `this` - when you type `this` in your code, what object is it referring to? This javascript tutorial covers scope and how it plays out in all of the functions that you create. W

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later