Sign in
webkit
/
WebKit
/
1c7d0e6821998d9f5e927f04218eaa12c2aeca32
/
.
/
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
;
})();