JSFiddle - React, Tailwind, and code Playground

by sqiudward

JavaScript

function init(x){ 
	return x == 1 ? true : false;
};

alert(init(2));