JSFiddle - React, Tailwind, and code Playground
by Hitman666
JavaScript
function parent() {
var message = 'Howdy World';
function child() {
alert (message);
}
return child;
}
var childC = parent();
childC(); //this will alert Howdy World