js массив уменьшить ошибку, а не функция

// These are the causes for the error I have personally encountered, 
// hopefully it can help you too!

/* Could be:
(a). A missing or extra semicolon
(b). The array is not in the correct format (null or undefined?)
*/
Powerful Penguin