376
POV: You maintain a JS library that 80% of modern web infrastructure uses as a dependency.
(lemmy.blahaj.zone)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
It's not about a different function providing different randomness, but providing a compatible implementation for environments not supporting the "regular" implementation.
If this screenshot is legit, I guarantee you that either the library is older and there was some weird branching for IE or it's brand new and had branching for the hot new JS runtime / cross compiling.
Supporting a metric fuckton of browsers and environments takes the same amount of shims.