JSFiddle - React, Tailwind, and code Playground

by Wudiemperor

HTML

<!doctype html public "✰">
<!--[if lt IE 7]> <html lang="{{ LANGUAGE_CODE }}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>    <html lang="{{ LANGUAGE_CODE }}" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>    <html lang="{{ LANGUAGE_CODE }}" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="{{ LANGUAGE_CODE }}" class="no-js"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <meta name="viewport" content="width=device-width">

</head>
<body>
  <!-- scripts concatenated and minified via build script -->

  <!-- end scripts -->

  <script>
  function example(){
  $.globalEval("var example1 = 'first';");
  eval("var example2 = 'second';");
    console.log("In function: " + example1);
    console.log("In function: " + example2);
}
example();
console.log("Global: " + example1);
console.log("Global: " + example2);
  </script>
</body>
</html>