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