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