結果 : javascript check if string or array