— And NOT external (modified in runtime for example) instance methods:
MyClass.prototype.foo = [rogue function]
Message permanent page
— Which means that the new syntax offers no new attack surface
— There is a buitin for getting all symbols, isn't there?
— Yeah, I remember reading about it on MDN
— Well, symbols is only one method
— I could also have used WeakMap
— I never meant attack surface, more an issue of smelly code haha
— I guess it depends on use case