Eloquently sums up my feelings about the disadvantages of dynamic typing
Michal Minich
michal.minich at gmail.com
Wed Oct 16 13:44:22 PDT 2013
On Wednesday, 16 October 2013 at 17:27:54 UTC, H. S. Teoh wrote:
> some default error handler somewhere that swallows all JS errors
That would be function bound to window.onerror event. Remove it,
or put breakpoint in it;
Also "use strict"; on new code. But it might be valuable to find
out if it pays of putting it to use on old code (if it isn't too
much warnings -> refactoring needed). One benefit, among few
others, is that assignment to undeclared variable throws
exception.
More information about the Digitalmars-d
mailing list