Skip to content Skip to sidebar Skip to footer
Showing posts with the label Try Catch

Json.parse Not Erroring On Cyclic Objects

I'm trying to determine if an object can be stringified or not. This check works in Chrome and … Read more Json.parse Not Erroring On Cyclic Objects

Javascript Node.js Getting Line Number In Try Catch?

I'm using try catch on a node.js script: try {} catch (err) {console.log(err)} I get an output… Read more Javascript Node.js Getting Line Number In Try Catch?

Javascript Try/catch

I've got a function that runs a user generated Regex. However, if the user enters a regex that … Read more Javascript Try/catch