結果 : check if not empty object javascript