結果 : check list not empty javascript