node/deps/v8/test/inspector/debugger/class-private-methods-static-preview-expected.txt
Michaël Zasso 1d6adf7432
deps: update V8 to 8.3.110.9
PR-URL: https://github.com/nodejs/node/pull/32831
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2020-05-12 16:12:13 +02:00

29 lines
1006 B
Plaintext

Check static private methods in object preview.
Running test: testPrivateMethods
expression: class { static get #readOnly() { return 1; } }
{
type : string
value : class { static get #readOnly() { return 1; } }
}
expression: class { static set #writeOnly(val) { } }
{
type : string
value : class { static set #writeOnly(val) { } }
}
expression: class { static #method() { return 1; } static get #accessor() { } static set #accessor(val) { } }
{
type : string
value : class { static #method() { return 1; } static get #accessor() { } static set #accessor(val) { } }
}
expression: class extends class { } { static #method() { return 1; } }
{
type : string
value : class extends class { } { static #method() { return 1; } }
}
expression: class extends class { static #method() { return 1; } } { get #accessor() { } set #accessor(val) { } }
{
type : string
value : class extends class { static #method() { return 1; } } { get #accessor() { } set #accessor(val) { } }
}