JS OOP homework 6