Contains not a function, update to includes
Not aware of String.prototype.contains becoming an ES standard, however, String.prototype.includes is functionally equivalent. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes
This commit is contained in:
parent
ff8f02c2cb
commit
8a34315dd5
Loading…
Reference in New Issue