JSFiddle - React, Tailwind, and code Playground

by TheDiamondDoge

JavaScript

let x = undefined;
q(x);


function q(x) {
	if (x) {
  	alert(true)
  } else {
  	alert(false)
  }
}