Sign in
webkit
/
WebKit
/
3edaba2ba8773ca7f680c84dc462d786504282f8
/
.
/
JSTests
/
microbenchmarks
/
string-replace-generic.js
blob: 92b26fbd6232c4048581f54f86927f40b5e6aa43 [
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
,
42
);
}
if
(
result
!=
"42oo"
)
throw
"Error: bad result: "
+
result
;
})();