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