JS ignores the value of every statement in a comma-separated expression except the last one. So you can do trash like this:
const foo = (bar) => (
console.log(bar),
someComputationOf(bar)
);
And log-debug without restructuring your otherwise pure function.I take stackoverflow and blogs for granted.
I did have a hand-rolled blog back then (The Hole Report) but was busy writing about magic tournaments and didn’t think anyone else cared about javascript hacks.
Fortunately another bad feature of IE was to alert() the errors, so customers were aware of each of them and could easily send us the bug back...
This bank employee used PrintScreen to print the screenshot on paper. He the successfully faxed it to his email, zipped it and uploaded it to our bugtracker. I had the zip of a .tiff of a scan of a printed screen. I still wonder whether he did it because he was upset, or whether it was a usual workflow.