I have a class with a static method:
class User { constructor() { User.staticMethod(); } static staticMethod() {} }
Is there som
static things bind to class rather than instance. So you must at least specify the class name.
static
If you don't want to bind to them to a class make them global.