This blog is about my history as a software engineer utilizing technologies C#, Java, React, JavaScript, .NET Core, SQL Server , Oracle, GIT, GitHub, Jira, Azure, AWS and HTML5. “I have not failed. I've just found 10,000 ways that won't work.” Thomas A. Edison. Please click on all my ADVERTISING links to help support this blog. 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)