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