Y
Hacker News
new
|
ask
|
show
|
jobs
by
madeofpalk
974 days ago
The “add error handling” example is baffling. I’m not even sure if it’s valid JS to put an export statement in a try/catch block?
Edit: No, it's not valid javascript
https://i.imgur.com/9g28y3l.png