var arr=[0,1,2,3]; arr.slice(1,2) console.log(arr)
.box { float: left; width: 100px; height: 100px; overflow-y: scroll; } .box2{ height: 1000px; }