結果 : javascript check if array or string