enum Foo { // <- foo creates a scope, just like a namespace
A // <- has a symbol (SymbolFlags::EnumMember)
}
// Foo has a reference, but A does not
console.log(Foo.A)
(edit: it appears playground links are broken. When I go to copy a playground URL for this snippet, it takes me to the playground with the default react component snippet)