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