MCPcopy Create free account
hub / github.com/Ibrahim23CS1279/days100 / executionContextExample

Function executionContextExample

JSday21to24.js:17–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16// Example of execution context
17function executionContextExample() {
18 var localVar = "I am local to this function";
19 console.log(localVar);
20}
21executionContextExample();
22// console.log(localVar); // Uncaught ReferenceError: localVar is not defined
23

Callers 1

JSday21to24.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected