Ask coding questions

← Back to all posts
Help With Methods In JavaScript
TheCoiledViper (80)

I'm very new to JavaScript and am trying to learn about class methods and the call() method. Could anyone help me fix my code?

https://repl.it/@TheCoiledViper/JavaScript-Methods

*Update I have fixed the issue by adding 'static' in front of the class method.

Comments
hotnewtop