JSFiddle - React, Tailwind, and code Playground

by darkstarsys

JavaScript

function err() {
  throw new Error('hi there')
}
function f() {
  try {
    err()
  } catch (e) {
    console.error(e.stack)
  }
}
f()