JSFiddle - React, Tailwind, and code Playground

by manchagnu

HTML

<script>
    var source = "\n\n\ndebugger; \nconsole.log('hello world');";
    var fn = new Function(source);
    fn();
</script>

<script>
    var source = "\n\n\ndebugger; \nconsole.log('hello world');";
    var fn = new Function("tests", source);
    fn("this is just a tests");
</script>