Skip to content

This repository is a comprehensive deep dive into the internal workings of JavaScript. It transitions from high-level concepts to the low-level execution logic of the JS Engine, providing a roadmap for developers who want to master the "magic" behind the code.

Notifications You must be signed in to change notification settings

Ashukr321/How_Javascript_Work_Internally

Repository files navigation

🟨 How JavaScript Works Internally

1. High level overview of JavaScript 
2. JavaScript Engine
3. components of JavaScript Engine
4. Compilation and interpreter process working  process
5. Call stack deep dive 
    1. global execution context  
        1. variable environment
        2. scope chain
        3. this
    2. execution context 
6. deep dive inside execution context 
    1. variable environment 
    2. scope chain 
        1. type scope
            1. global scope 
            2. function scope 
            3. block scope
            
            only variable lookup scope chain is allow 
            
    3. this keywords
        1. this keywords in normal function calling 
        2. this keywords in methods calling 
        3. this keywords in arrow function 
        4. this keywords in event listener 
        
        this is never point to itself and variable environment 
        
        1. call( )
        2. apply ( )
        3. bind ( )
    
    1. Arguments keywords in execution context 
    2. Memory management life cycle in JavaScript
        1. memory allocation 
            1. call stack 
            2. heap memory 
    3. shallow copy and deep copy 
    4. garbage collection 
        1. mark and sweep algorithms
        

About

This repository is a comprehensive deep dive into the internal workings of JavaScript. It transitions from high-level concepts to the low-level execution logic of the JS Engine, providing a roadmap for developers who want to master the "magic" behind the code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published