mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 12:45:25 +00:00

PR-URL: https://github.com/nodejs/node/pull/47251 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
21 lines
537 B
Plaintext
21 lines
537 B
Plaintext
Check private methods in object preview.
|
|
|
|
Running test: testPrivateMethods
|
|
expression: new class extends class { constructor() { return new Proxy({}, {}); } } { #method() { return 1; } }
|
|
[
|
|
]
|
|
expression: new class { #method() { return 1; } get #accessor() { } set #accessor(val) { } }
|
|
[
|
|
[0] : {
|
|
name : #accessor
|
|
type : accessor
|
|
}
|
|
]
|
|
expression: new class extends class { #method() { return 1; } } { get #accessor() { } set #accessor(val) { } }
|
|
[
|
|
[0] : {
|
|
name : #accessor
|
|
type : accessor
|
|
}
|
|
]
|