JavaScript/OOP-classical/Exercises

Topic: OOP - 1

1. Create an object with (minimum) two different techniques. The object shall contain information about a person: first name, family name, hobbies, address, weight, ...

2. Create an object 'Car' in a way that you can create an instance with

3. Create an object 'myBike' and an object 'myEBike' as its sub-object in a hierarchy.