Javascript is Event-Driven - What makes Javascript Weird...and Awesome Pt 2

1 year ago
14

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 Node.js - 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 code...just the code to respond to the user.

Visit Our Website : https://metapayclicks.com
Telegram channel : https://t.me/metapayclicks
Facebook page : https://www.facebook.com/metapayclicks/
Linkedin : https://www.linkedin.com/company/mpc-network/
Twitter : https://twitter.com/MetapayC
locals.com : https://locals.com/member/MetaPayC
Instagram : https://www.instagram.com/metapayclicks/
Tumblr : https://metapayclicks.tumblr.com/
Youtube Channel : https://www.youtube.com/channel/UCwAamK7hbpF51HcPgJSTuVA
Flickr : https://www.flickr.com/photos/196588923@N04/

Tiktok : https://www.tiktok.com/@metapayc

Dribbble : https://dribbble.com/metapayc

Vk : https://vk.com/id752424948

Reddit : https://www.reddit.com/user/MetaPayC

Loading comments...