mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
256 B
TypeScript
13 lines
256 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript6/Symbols/parserSymbolProperty5.ts] ////
|
|
|
|
//// [parserSymbolProperty5.ts]
|
|
class C {
|
|
[Symbol.toPrimitive]: string;
|
|
}
|
|
|
|
//// [parserSymbolProperty5.js]
|
|
"use strict";
|
|
class C {
|
|
}
|
|
Symbol.toPrimitive;
|