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