Follow

debugging javascript:
function f() {
...
while (many iterations) {
let x = ...
.....
... something thriws here because of x....
}
...
}

now becomes:

function f() {
try {
...
while ....
var x = ...
...
...
}
catch (e) {
console.error(x);
throw e;
}
}

every odd feature counts :)

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.