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