WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / String.prototype_methods_String.prototype.includes.js
1 function test() {
2
3 return typeof String.prototype.includes === 'function'
4   && "foobar".includes("oba");
5       
6 }
7
8 if (!test())
9     throw new Error("Test failed");
10