Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
microbenchmarks
/
string-replace-string.js
blob: 6b4e14b8e9830f54d84ea795bc56947a46621318 [
file
] [
log
] [
blame
] [
edit
]
//@ $skipModes << :lockdown if $buildType == "debug"
function
test
(
a
,
b
,
c
)
{
return
a
.
replace
(
b
,
c
);
}
noInline
(
test
);
for
(
var
i
=
0
;
i
<
1e7
;
++
i
)
test
(
"Hello World"
,
"World"
,
"Hi"
);