How JavaScript works

How JavaScript works

4/13/2018

link

https://blog.sessionstack.com/how-does-javascript-actually-work-part-1-b0bacc073cf

summary

This blog post is the first in a series that aims to explain how JavaScript works. It starts by providing a high-level overview of JavaScript, discussing its purpose and role as a programming language for the web. The post then delves into the JavaScript runtime environment, explaining the concept of an event loop and how JavaScript code is executed. It also covers topics such as the call stack, heap, and garbage collection. Overall, this post serves as an introductory guide to understanding the fundamental workings of JavaScript.

tags

javascript ꞏ web development ꞏ programming ꞏ computer science ꞏ software engineering ꞏ web technologies ꞏ web applications ꞏ front-end development ꞏ back-end development ꞏ client-side scripting ꞏ server-side scripting ꞏ programming languages ꞏ code execution ꞏ browser ꞏ web browser ꞏ html ꞏ css ꞏ dom ꞏ event-driven programming ꞏ asynchronous programming ꞏ callbacks ꞏ event loop ꞏ javascript engine ꞏ v8 ꞏ memory management ꞏ garbage collection ꞏ data types ꞏ variables ꞏ functions ꞏ objects ꞏ prototypes ꞏ closures ꞏ scope ꞏ execution context ꞏ global object ꞏ lexical environment ꞏ javascript runtime ꞏ event handlers ꞏ event listeners ꞏ ajax ꞏ http ꞏ network requests ꞏ web apis ꞏ promises ꞏ async/await ꞏ error handling ꞏ debugging