JSFiddle - React, Tailwind, and code Playground
by hustonjs
JavaScript
// doesn't throw
console.log($.parseJSON(''));
// throws
console.log(JSON.parse(''));
by hustonjs
// doesn't throw
console.log($.parseJSON(''));
// throws
console.log(JSON.parse(''));