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