JSFiddle - React, Tailwind, and code Playground

JavaScript

eval("var x = 10;");
console.log(window.x); // undefined
console.log(x); // 10