This blog shares my journey as a software engineer, along with personal reviews and life experiences I’ve gained along the way. “I have not failed. I've just found 10,000 ways that won't work.” — Thomas Edison. If you enjoy my content, please support it by clicking on ads (free for you, big help for me!) or by buying me a coffee on Ko-fi. Thank you!
Friday, November 02, 2018
JavaScript Execution
1) Global Memory
2) Global Execution
3) Call Stack
Tatoo it on my arm. Be a JavaScript Master mind --- JavaScript is Single Threaded.
function myFunc(){
Console.write("Hello Moojjoo Blogger");
}
That function will never run unless it is called. It is stored in the Global Memory, but will never execute unless you call
myFunc();
Aka
Functions, Executions, Contexts and Call Stack... Know that and JavaScript will be easy for you.
Subscribe to:
Posts (Atom)