Question: Help with HTML and JavaScript: 1 ) In the script myJS for an HTML doc define a class using the ES 6 class syntax. 2

Help with HTML and JavaScript:
1) In the script myJS for an HTML doc define a class using the ES6 class syntax.
2) on the class define a function that calls document.writeln and prints into the constructor.
3) using super() make a second function that inherits from the previous class and Instantiate all classes
4) make two function calls on each class instance so we call function on the instance of the parent class and also on the child class
5) Add a function to the prototype of the parent object and call this from the child instance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!