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