JSFiddle - React, Tailwind, and code Playground

JavaScript

try {
    var x;
    alert((false ? 1 : x) = 2);
} catch (e) {
    alert(e);
}