Language GuideBuilt-in TypesArrayMethodssliceOn this pagesliceSlice the array from start to end (end not included). ["aa", "bb", "cc", "dd", "ee"].slice(3, 5); // ["dd", "ee"] Syntax slice(start, end) Returns A copy of the portion. Notes Does NOT modify the array in-place. The arguments get coerced into uints. start must be greater than end.