News for hackers. Stuff that matters.
Re:A year of publishing the MDN Blog by graypegg on Sunday May 05, 2024 @11:51AM (#40265754)
so, I thought there was some esoteric weirdness in the spec'd Javascript regex engine that made HADC0FFEE somehow match /^[0-9A-F]+$/i. Then the joke kinda makes sense right? I do need coffee to work with JS most of the time haha

But I do get false, running it in chrome dev tools.

When they're talking about writing documentation for tricky subjects, this misses a bit. I have no clue what the joke is, other than, if you haven't had coffee, you might think this evaluates to true?

Re:A year of publishing the MDN Blog by bee_rider on Sunday May 05, 2024 @12:57PM (#40266295)
I think that is the jokey, yeah. Also a tiny bit of a pun maybe, it looks sort of like a status test of some sort: did you have coffee?