1 2 3 4 5 6 7 8 9 10 11 12 13 14
class Getters { get foo() {} get static() {} static get bar() {} get "baz"() {} get ["a" + "b"]() {} get 5() {} get #private() {} } class NotGetters { get() {} async get() {} static get() {} }