結果 : if object not empty javascript