結果 : javascript check if list is not empty