I'm trying to declare an async static protected class method in Javascript?
module.exports = class MyClass {
protected static async foo(bar) { }
static protected async foo(bar) { }
static async protected foo(bar) { }
}
None of the above declarations or Googling work! How are access modifiers handled here? Please provide both ES6 and regualar js declarations.