DevMode Javascript Exception Handler
StackOverflow-driven JS development:
try {
something
} catch (e) {
window.open('https://stackoverflow.com/search?q=[js]+"' + e.message + '"');
}
StackOverflow-driven JS development:
try {
something
} catch (e) {
window.open('https://stackoverflow.com/search?q=[js]+"' + e.message + '"');
}
Since it may be references to existing javascript array from other objects, the best way to clear array contents is assign its length to zero