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