News for hackers. Stuff that matters.
Re:Show HN: Bless your JavaScript code by danhardman on Thursday March 23, 2017 @05:35PM (#13944582)
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?
Re:Show HN: Bless your JavaScript code by sealord on Friday March 24, 2017 @12:01AM (#13946501)
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..