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);
}
One response
very funny
thanks for sharing ..