Open hk-skit opened 8 years ago
It is possible to use String.prototype.indexOf() instead: str.indexOf(searchValue[, fromIndex]) with the same effect
Yeah we can achieve the same with it but the thing is that every time we need to check whether the index is not equals -1.
As described here Mozila doc, there's a method string.includes to check whether a string contains searchString or not.
We should also add this in augment.js