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