JSFiddle - React, Tailwind, and code Playground

HTML

<script>
	function foo()
  {
  }
  
  alert("foo" in window);
</script>