It looked like an array >.> As for the inherited properties bit, yeah, I know what it does, but it does not make sense here. The results.data will only inherit from Object. You can simply use something like I have suggested to circumvent accessing the prototype. I see no reason as to why you would iterate the object in this way.
There are multiple ways to do this, you can follow the approach we used for removing duplicates from array in Java, where we loop through array and inserting each element in a Set, which ensures that we discard duplicate because Set doesn't allow them to insert, or you can also use remove method of ArrayList to get rid of them, once you found that those are duplicates.