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