JSFiddle - React, Tailwind, and code Playground

JavaScript

myFunction();

function myFunction() {
    console.log('test');
}