Die QUIETLY!

Here is a piece of JavaScript code taken from a public commercial website. I have redacted some of the code to protect the guilty, but the rest is verbatim in all its glory. See if you can spot the error.

try {
   doSomething();
} catch(err) {
   // Die quietly
   alert(err);
}
Share This | Comments | Permalink | Trackback | Comments feed

One response

Post a comment

(required)
(required)
Close
E-mail It