JSFiddle - React, Tailwind, and code Playground

by luka kupunia

JavaScript

const x = true
function test() {
	if(x) {
    	throw new TypeError(
          "Failed to execute 'querySelector' on 'Document': 1 argument required, but only "
        );
    }
    {
    	console.log("from console")
    }
}
test()