Sign in
webkit
/
WebKit
/
d50d5a4e8f0138b7a460312449bcca90880ee5c1
/
.
/
JSTests
/
es6
/
String.prototype_methods_String.prototype.includes.js
blob: 227fa7c50835a487fe5015b1e45bd1179fecd2c6 [
file
] [
log
] [
blame
]
function
test
()
{
return
typeof
String
.
prototype
.
includes
===
'function'
&&
"foobar"
.
includes
(
"oba"
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);