• + 0 comments

    My solution. What do you think?

    	let numref = [...arr]
        numref.length = d
      
        return arr.slice(d,arr.length).concat(numref)