Sign in
webkit
/
WebKit
/
3ee83bd7079b5d32a56631e7e3c8cee2e6830703
/
.
/
JSTests
/
es6
/
String.prototype_methods_String.prototype.repeat.js
blob: 20e2a01b093816d489b280236cf7233522e77493 [
file
] [
log
] [
blame
]
function
test
()
{
return
typeof
String
.
prototype
.
repeat
===
'function'
&&
"foo"
.
repeat
(
3
)
===
"foofoofoo"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);