結果 : check for null in array javascript