Catching exceptions

So reading the ECMAScript specification I cannot find this concept
used there. A number of scenarios require us to catch exceptions and
either handle them or maybe re-throw them as appropriate. Is this
language fine:

1. Invoke /callback/ ...

2. If that threw an exception, ...

Or are there some other things I need to take into account? Is there
preferred language for this kind of pattern?


--
http://annevankesteren.nl/

Received on Tuesday, 2 April 2013 09:38:51 UTC