Find count of negative numbers , count of zeros , negative number with least absolute value and product of non - zero numbers
let max_neg = Number . MIN_SAFE_INTEGER ; let count_neg = 0 ; count_zero = 0 ; let prod = 1 ; for ( let i = 0 ; i < n ; i ++ ) {