JSFiddle - React, Tailwind, and code Playground

JavaScript

(function () {

   var lexicallyScopedFunction = function () {
      alert('We\'re in the lexicalyScopedFunction');
   };

   (function innerClosure() {
      lexicallyScopedFunction();
   }());

}());