Sign in
webkit
/
WebKit
/
ebe4669e29ea3ecdefef9c114c79592311997a36
/
.
/
JSTests
/
microbenchmarks
/
string-replace.js
blob: a8acfc794e62093a77563174f1b68a5a5fc442e8 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(
function
()
{
var
result
;
for
(
var
i
=
0
;
i
<
400000
;
++
i
)
{
result
=
"foo"
.
replace
(
/f/
g
,
"b"
);
}
if
(
result
!=
"boo"
)
throw
"Error: bad result: "
+
result
;
})();