Problem Statement
Private fields:
Explanation
`private` is checked by TypeScript only. `#field` is a JavaScript private field—enforced by the engine at runtime.
Code Solution
SolutionRead Only
class C {
private secret = 'ts-only';
#rt = 'runtime';
leak(){ /* this.#rt is truly private */ }
}