Spoken Tutorials - JavaScript Assignment Funded by the Ministry of Education (MoE), GOI Indian Institute of Technology Bombay, https://spoken-tutorial.org ------------------------------------------------------------- Classes and Inheritance in JS 1. Open the file "assignment.js" which you have created earlier 2. Clear the existing code 3. Create a "class Car" 4. Create the "methods engine" and "wheels" in the "class Car" 5. Create a "class" called "ElectricCar" and inherit the properties of "Car class" 6. Create a "method battery" in the "class ElectricCar" 7. Log the "method name" in all the three methods 8. Create an "object ec1" using "ElectricCar" and then execute "Car methods" using "ec1" 9. Open the file MyPage.html in a web browser 10. Observe the output in the browser's console