Hacker News new | ask | show | jobs
by dmatech 375 days ago
The amusing thing is that even today, there's a "blink" method on JavaScript strings. It's totally useless today, but it's still there for whatever reason. In fact, they don't even HTML escape the argument, so they were arguably terrible from the beginning.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

1 comments

Removing it will cause old code to throw an exception. By making it a no-op the code will remain working. There's tons of old unmaintained stuff on the web.