Hello!
Let try and see if this works!
-
function init() { var name = "Mozilla"; // name is a local variable created by init function displayName() { // displayName() is the inner function, that forms a closure// use variable declared in the parent function } displayName(); } init();
- ← Previous
This is my fourth post