JSFiddle - React, Tailwind, and code Playground

JavaScript

var f = function(){
    alert('ok');
}

f();

console.log(f.toString());