Sign in
webkit
/
WebKit
/
1f18bfe1d675d641e5195ccba1e744a16360cc5b
/
.
/
JSTests
/
microbenchmarks
/
string-slice-one-char.js
blob: cc8ea4ea88256d021b9785edb0b394026b3e8e04 [
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
,
3
);