As a C# developer I\'m used to the following style of exception handling:
try { throw SomeException(\"hahahaha!\"); } catch (Exception ex) { Log(ex.T
It is almost identical, see the manual: https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Exception_Handling_Statements/try...catch_Statement