0

Pls help me fix the errors and show me each error and how you were able to fix it. I want to output the return "statement".

https://code.sololearn.com/WuoXAIai8gFh/?ref=app

9th Nov 2021, 9:25 PM
Okafor Okwuchukwu Charisma
Okafor Okwuchukwu Charisma - avatar
2 Answers
+ 1
There is no error, you just console.log class named myClassMate and got this class. I think you can check what is inside if you use browser on pc. (Not sure) To log your return, you need to use method you add in your class like console.log(myClassMate.show()) Here is documentation about it https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes
9th Nov 2021, 9:37 PM
PanicS
PanicS - avatar
0
@PanicS, thanks a lot. I appreciate your help so much
10th Nov 2021, 4:51 PM
Okafor Okwuchukwu Charisma
Okafor Okwuchukwu Charisma - avatar