+ 1

help me getting the desirable out-put(it's part of creating your own object module)

cant explain whole thing in message, click on link and u will get the errors, i want to remove those error's, help ! :) https://code.sololearn.com/W65XJ2M8V8FP/#html

5th Nov 2020, 5:20 AM
dishannt jain
dishannt jain - avatar
5 Réponses
+ 3
Finally I just got answer with help of Med Amine Fh and here is the answer https://code.sololearn.com/WAtJLDx3a1Z4/?ref=app
5th Nov 2020, 7:17 AM
dishannt jain
dishannt jain - avatar
+ 2
first mistake you've done is creating a function(constructor) and a variable with the same name . 1- change the name of the variable (for example input) 2- create another variable (instance) for example const user= new course(input.Name,input.age)
5th Nov 2020, 6:49 AM
Med Amine Fh
Med Amine Fh - avatar
+ 2
Med Amine Fh can u edit my code then send me, It will be more understandable
5th Nov 2020, 6:57 AM
dishannt jain
dishannt jain - avatar
+ 2
you can find it with my code , (test)
5th Nov 2020, 6:59 AM
Med Amine Fh
Med Amine Fh - avatar
+ 1
in my profile
5th Nov 2020, 7:00 AM
Med Amine Fh
Med Amine Fh - avatar