JSFiddle - React, Tailwind, and code Playground
JavaScript
var func = (function() {
alert ('you execute my anonymous')
return function(x, y) {
return x + y
}
})()
// first message for create
// then return value exptectd
alert( func(2,3) )