結果 : javascript check list is not empty