Re:A better way to handle errors in JavaScript
by optimistprime on Tuesday October 31, 2023 @01:54AM
(#38080799)
This is interesting. Does it have any performance impact?
[ Parent
| on HN ]
Re:A better way to handle errors in JavaScript
by musicq on Tuesday October 31, 2023 @06:20AM
(#38082578)
Don't think would affect performance. The core function `wrap` is just try catch under the hood.
https://github.com/musicq/unwrapit/blob/d5c437a235ad1f5ad042...
Re:A better way to handle errors in JavaScript
by optimistprime on Sunday November 05, 2023 @05:06PM
(#38156124)
iirc, try catch does have performance impact in js.