結果 : javascript check if array has any elements