JSFiddle - React, Tailwind, and code Playground

by Tintu Raju

HTML

<script src="https://getfirebug.com/firebug-lite-debug.js"></script>

JavaScript

var x = 1;

function abc(){
 console.log('execute the function')
}
function xyz(){
 console.log('another method')
}
(x?abc:xyz)()