Myvideo

Guest

Login

Что делает JavaScript таким странным и восхитительным Event-Driven - Pt 2

Uploaded By: Myvideo
43 views
0
0 votes
0

This changes EVERYTHING! The fact that Javascript is event-driven is the reason for closures, weird scoping/context, and the myriad of callbacks you see everywhere. Programmers who are new to Javascript - especially - are often thrown for a loop by the event-driven nature of JS. The bottom line is: Javascript isn’t built for making a page, it’s built for a user-interface. It listens for user interaction and responds accordingly. And when that response happens, it doesn’t run any unnecessary cod

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later