I got the below solution from one of our follower -
(arr, nbr) => arr.splice(arr.length - nbr, nbr)
.concat(arr);
I got the below solution from one of our follower -
(arr, nbr) => arr.splice(arr.length - nbr, nbr)
.concat(arr);
Working in Walmart as Senior Software Developer