Given an array of numbers and a number (n), change the first n elements to 0. Mutate the array.
// input: const a = [1, 2, 3, 4, 5, 6], n = 3 // output: [0, 0, 0, 4, 5, 6]
/* output */