You might want to look into `Object.create` or prototypes and the `new` keyword.