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".
2 Antworten
+ 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
0
@PanicS, thanks a lot. I appreciate your help so much