isHexadecimal("HADC0FFEE"); // false
Edit: I was curious, so I looked through the linked docs for regex. They have the exact same pattern for checking hex in there as they do in this one. I guess it was just an error after all?
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?
This is caused by the string "sha256-tG5mcZUtJsZvyKAxYLVXrmjKBVLd6VpVccqz/r4ypFE=" which does not wrap properly. Using "word-break: break-all;" on the pre element would fix it.
> The company that makes most of the web standards.
That is incorrect. Mozilla is only one of the several companies and working groups that may be involved. MDN is documentation, not specification.
You don't absorb your company's entire knowledge base just by virtue of working there after all
This sounds like javascript behavior (MDN, to my surprise, is built on React).