JSFiddle - React, Tailwind, and code Playground

by ClarenceDowns

JavaScript

function x(){
console.log("I am called from inside the function");
}

function y(callback){
console.log('do something');
return callback();
}

console.log(y(x));