結果 : check array or not in javascript