+ 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
5 ответов
+ 3
Finally I just got answer with help of Med Amine Fh and here is the answer
https://code.sololearn.com/WAtJLDx3a1Z4/?ref=app
+ 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)
+ 2
Med Amine Fh can u edit my code then send me, It will be more understandable
+ 2
you can find it with my code , (test)
+ 1
in my profile