Sign in
webkit
/
WebKit
/
7bc14f95df814826b83dac0a38111c16d13d792a
/
.
/
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"
);