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

Function outerFunction

JSday16.js:51–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49
50// Nested Functions
51function outerFunction(){
52 function innerFunction(){
53 return "Hello from Inner Function";
54 }
55 return innerFunction();
56}
57console.log(outerFunction()); // Output: Hello from Inner Function
58// Immediately Invoked Function Expression (IIFE)
59(function(){

Callers 1

JSday16.jsFile · 0.70

Calls 1

innerFunctionFunction · 0.70

Tested by

no test coverage detected