3 ms·
Oddly enough Chrome/Blink still has the String.prototype.blink method to create a blink tag from a string. If I recall correctly it's actually part of an ES (no
by jacobr 13y ago
Oddly enough Chrome/Blink still has the String.prototype.blink method to create a blink tag from a string. If I recall correctly it's actually part of an ES (not DOM) standard.
- Bockit 13y agoWow. Because this surprised me so much, I just found out that if you open up a node REPL and type 'hello'.blink() you get '<blink>Hello</blink>' returned. So I guess it's an ES thing and it boggles my mind. I was trying to find the ES standard where it's specified but I'll settle for this[1] instead. Interestingly enough you have quite a few HTML wrapping functions as part of the spec. [1]: http://javascript.spec.whatwg.org/#string.prototype.blink http://javascript.spec.whatwg.org/#string.prototype.blink