結果 : count number of negative values in array javascript