結果 : how to check nested object in javascript