array-10

let arr = [1, 2, "test", "bob", false, 33];

/*
    If we ommit second argument slice will
    return everything from starting position
    to the end.
*/

//This example will return everything from second
//argument to the end

let sliced = arr.slice(1);
console.log(sliced);
//Output: [2, "test", "bob", false, 33]