class Foo { static #foo = function(x) { return x; } test(x) { return Foo.#foo(x); } }