結果 : how to check instance of object in javascript