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