11 lines
202 B
TypeScript
11 lines
202 B
TypeScript
//// [parserSymbolProperty6.ts]
|
|
class C {
|
|
[Symbol.toStringTag]: string = "";
|
|
}
|
|
|
|
//// [parserSymbolProperty6.js]
|
|
class C {
|
|
constructor() {
|
|
this[Symbol.toStringTag] = "";
|
|
}
|
|
}
|