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