Ad
krnl0138Failed Tests

moveZeros

Move all zeros to the end of array

var moveZeros = function (arr) {
   return arr.filter(el => el !== 0).concat(arr.filter(el => el === 0));
}