Hacker News new | ask | show | jobs
by optimistprime 969 days ago
This is interesting. Does it have any performance impact?
1 comments

Don't think would affect performance. The core function `wrap` is just try catch under the hood.

https://github.com/musicq/unwrapit/blob/d5c437a235ad1f5ad042...

iirc, try catch does have performance impact in js.