JSFiddle - React, Tailwind, and code Playground

by Matt Rummler

HTML

<body>
</body>

JavaScript

var sample = function() 
    {
        return (function() 
        {  // The function returns when you call it
            return "something"
        })();
    }();
    
//    sample;
    alert('the value of sample form inside nested functions: '+sample);