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