Learn JavaScript | How Does JavaScript Work?

preview_player
Показать описание
How does JavaScript work? By the end of this video, you will have a clear understanding of how JavaScript actually works and understand what happens when JavaScript runs in your browser. This is something you could be asked in an interview and something every developer should know if you are working with JavaScript or planning to apply for a web development job.

==========

Hey there, I'm Andrei Neagoie 👋. If you're completely lost watching this video or are brand new to JavaScript and web development... don't worry! This video is from the Advanced JavaScript section of my Complete Coding Bootcamp course where I also cover everything from the absolute basics.

Graduates of Zero To Mastery are now working at Google, Tesla, Amazon, Apple, IBM, Facebook, Shopify + other top tech companies.

This could be you 👆

==========

💥 Who is my Coding Bootcamp course for?

◾ You want to learn to code and build websites and web apps
◾ You are looking to start a career in Web Development with absolutely zero prior knowledge
◾ You know HTML and CSS but want to expand your skills and do more
◾ You want to start your own business or become a freelancer
◾ You want to learn REAL industry skills that are necessary to get hired as a web developer and earn a higher salary in 2024
◾ You want one course to teach you everything in one place from a senior developer who has actual real-world experience

==========

You also won't be learning alone. By enrolling today, you'll also get to join our exclusive live online community classroom to learn alongside thousands of students, alumni, mentors, TAs and Instructors 👋

#zerotomastery
Рекомендации по теме
Комментарии
Автор

It's truly a very important topic

shazilsattar
Автор

Really insightful video. Thanks Andrei

atharshakeel
Автор

Thanks andrea you are an amazing person

md
Автор

I get many useless videos in my feed, this is not of that kind anyways. Awesome content with practical proofs.. I like to take ur course, Hope it would also be the same

julurisaichandu
Автор

Most examples explaining the concurrency model of JavaScript in the browser list three parts: The call stack, the web api's, and the event queue. The normal process which is often described is that Web APIs are not handled by core ECMAScript and are handled by a web API; at this point they move into the event queue to wait until the call stack is empty to be executed. setTimeout is often used as an example to this process.

My questions are:

1.) since console.log is a web API, why does it not enter the event queue behind setTimeout? (does it even enter the event queue at all)?

2.) If it doesn't enter the event queue, what determines what APIs get pulled out of the call stack to go through the event loop process? Is it only those APIs which wait for something and have callbacks?

shubhampassi
Автор

Excellent explanation. Congratulations

oguzhankayapinar
Автор

Amazing video. . Thanks for sharing this.

saaheelmajethia
Автор

i am eagerly waiting for node js course Andrei. is there any update regarding that?

shubhampassi
Автор

It is posible to see the callback queue in firefox debugger?

paulmillan
Автор

It's like you use your smartphone and don't know about it's OS

AkashSingh-ukub