Sign in
webkit
/
WebKit
/
f6a2db0b6ffa1cbc502926e8c3265b2be2346307
/
.
/
JSTests
/
microbenchmarks
/
string-slice-one-char.js
blob: d055cfcd50614987a76348659daacd93973e69ee [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function
slice
(
string
,
start
,
end
)
{
return
string
.
slice
(
start
,
end
);
}
noInline
(
slice
);
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
slice
(
"Cocoa"
,
2
,
3
);