Sign in
webkit
/
WebKit
/
8de09782621a8d8b47ef684da5e0e163b556e859
/
.
/
JSTests
/
microbenchmarks
/
string-slice.js
blob: 98d7bdbbd0c035054582a9294e2f547fe1ff86c2 [
file
] [
log
] [
blame
]
function
slice
(
string
,
start
,
end
)
{
return
string
.
slice
(
start
,
end
);
}
noInline
(
slice
);
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
slice
(
"Cocoa"
,
2
,
4
);