Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.29 KB

File metadata and controls

50 lines (40 loc) · 1.29 KB

🟨 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