8 lines
129 B
TypeScript
8 lines
129 B
TypeScript
//// [parserSymbolProperty5.ts]
|
|
class C {
|
|
[Symbol.toPrimitive]: string;
|
|
}
|
|
|
|
//// [parserSymbolProperty5.js]
|
|
class C {
|
|
}
|