ES6 `String.prototype.contains` polyfill + tests: http://mths.be/contains
@ChiperSoft Well, it aims to follow the spec 100%. If you can think of something that can be removed without breaking anything, let me know!
-
-
@mathias after reading the spec I see why the tests are so verbose. I too am curious about performance on this, seems the reqs bog it down.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.