Hacker News new | ask | show | jobs
by danhardman 3381 days ago
Is the idea of this to replace adding `console.log("code checkpoint");` in your code for debugging? Sort of a, I know the code managed to get to this point, so the error must be happening here?
1 comments

That wasn't the intended function, but yes - by doing that, you'd end up blessing your code and putting all sorts of helpful checkpoints. At one point, with a bit of luck, such a checkpoint could even prevent your code from crashing - 'cause it's blessed..