I see. You will get a problem when using the in keyword. You could handle this by using hasOwnProperty, but I don’t like this. Maybe the solution is to use Object.keys or even better something like lodash oder underscore. Then you have not to reason about. Do you had another experience with this.