Debugging is the process of testing, finding, and reducing bugs (errors) in computer programs. Isn't throwing an exception fundamentally different from logging messages? –Robin Maben Dec 8 '10 at 6:59 14 On the other hand, throwing an exception will stop the execution of the All rights reserved. Alright, so you've opened the console. news
Array.prototype.join.call(arguments, " ") : arguments; // This is the standard; Firebug and newer WebKit browsers support this.
share|improve this answer edited Jul 12 '12 at 17:24 Peter Mortensen 10.4k1372108 answered Oct 3 '08 at 10:00 Ian Oxley 7,07832844 7 throw() is a great suggestion - this should