JSFiddle - React, Tailwind, and code Playground

JavaScript

var ex=false;
try {(ex=myvar)||(ex=true)}catch(e) {}
alert(ex);