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