Test accessing unused private methods at runtime Running test: testScopesPaused Get privateProperties of A in testStatic() [ [0] : { name : #staticMethod value : { className : Function description : #staticMethod() { return 1; } objectId : type : function } } ] Access A.#staticMethod() in testStatic() { exceptionDetails : { columnNumber : 0 exception : { className : ReferenceError description : ReferenceError: A is not defined at eval (eval at testStatic (:1:1), :1:1) at A.testStatic (:6:29) at run (:9:7) at :1:1 objectId : subtype : error type : object } exceptionId : lineNumber : 0 scriptId : text : Uncaught } result : { className : ReferenceError description : ReferenceError: A is not defined at eval (eval at testStatic (:1:1), :1:1) at A.testStatic (:6:29) at run (:9:7) at :1:1 objectId : subtype : error type : object } } Access this.#staticMethod() in testStatic() { exceptionDetails : { columnNumber : 5 exception : { className : Error description : Error: Unused static private method '#staticMethod' cannot be accessed at debug time at eval (eval at testStatic (:1:1), :1:6) at A.testStatic (:6:29) at run (:9:7) at :1:1 objectId : subtype : error type : object } exceptionId : lineNumber : 0 scriptId : text : Uncaught } result : { className : Error description : Error: Unused static private method '#staticMethod' cannot be accessed at debug time at eval (eval at testStatic (:1:1), :1:6) at A.testStatic (:6:29) at run (:9:7) at :1:1 objectId : subtype : error type : object } } get privateProperties of a in testInstance() [ [0] : { name : #instanceMethod value : { className : Function description : #instanceMethod() { return 2; } objectId : type : function } } ] Evaluating this.#instanceMethod() in testInstance() { result : { description : 2 type : number value : 2 } }