javascript get up to x items in array code example Example: js get elements in array from x to y arr.slice([início[,fim]])