Ensure use of .hasOwnProperty() check when using for/in loops