JSFiddle - React, Tailwind, and code Playground

by Abid Akhtar

JavaScript

try {
    return JSON.parse("json"); //this will cause an error
} catch (error) {
    alert("I have an error with the following details: \n" + error);
}