whats mising | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

whats mising

class Human { constructor(name) { this.name = name; } } class Student extends Human { constructor(name, age) { (name); this.age = age; } }

16th May 2020, 8:52 PM
Tsebo Moloi
Tsebo Moloi - avatar
5 Answers
0
super().constructor before (name)
16th May 2020, 8:56 PM
george
george - avatar
0
try to create a web code using code bits section and post the link to that here. it will be easier for us to take a look
16th May 2020, 10:39 PM
Sebastian Pacurar
Sebastian Pacurar - avatar
0
Here is the solution: class Human { constructor(name) { this.name = name; } } class Student extends Human { constructor(name, age) { super (name); this.age = age;
10th Aug 2021, 10:32 AM
Owethu Sotomela
Owethu Sotomela - avatar
0
class extends super
20th Sep 2022, 11:48 AM
LIPSA BEHERA
0
The exact answers of the missing places are: class extends super
13th Feb 2023, 8:51 AM
Jembere Guta
Jembere Guta - avatar