cómo llamar al método no estático en el método estático
Escribí esta clase y cuando ejecuto esta clase.
class Test{ constructor(p){ this.fname = p; } change(n){ this.fname = n + ' test'; } static show(){ this.change('iman'); return this.fname; } echo(){ return this.fname+' ok'; } } console.log(Test.show());volver debajo del error
TypeError: this.change is not a function