21 lines
407 B
Text
21 lines
407 B
Text
=== tests/cases/conformance/es6/Symbols/symbolProperty45.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
get [Symbol.hasInstance]() {
|
|
>Symbol.hasInstance : symbol
|
|
>Symbol : SymbolConstructor
|
|
>hasInstance : symbol
|
|
|
|
return "";
|
|
>"" : string
|
|
}
|
|
get [Symbol.toPrimitive]() {
|
|
>Symbol.toPrimitive : symbol
|
|
>Symbol : SymbolConstructor
|
|
>toPrimitive : symbol
|
|
|
|
return "";
|
|
>"" : string
|
|
}
|
|
}
|