Sign in
webkit
/
WebKit
/
6fd57f0545e2ab789319dc828ca2e5959d39c256
/
.
/
JSTests
/
microbenchmarks
/
string-replace-empty.js
blob: 5f2fd247abee6fb0643ab4cd20ab4c1702451a69 [
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
,
""
);
}
if
(
result
!=
"oo"
)
throw
"Error: bad result: "
+
result
;
})();