JSFiddle - React, Tailwind, and code Playground

by Artem

JavaScript

// Q: will an error be catched
try {
	setTimeout(function () {
  	throw 1;
  })
} catch(e) {
	console.log(e);
}

// A: "no"
// which is correct