17 lines
285 B
JavaScript
17 lines
285 B
JavaScript
|
//// [parserEnumDeclaration6.ts]
|
||
|
enum E {
|
||
|
A = 1,
|
||
|
B,
|
||
|
C = 1 << 1,
|
||
|
D,
|
||
|
}
|
||
|
|
||
|
//// [parserEnumDeclaration6.js]
|
||
|
var E;
|
||
|
(function (E) {
|
||
|
E[E["A"] = 1] = "A";
|
||
|
E[E["B"] = 2] = "B";
|
||
|
E[E["C"] = 1 << 1] = "C";
|
||
|
E[E["D"] = undefined] = "D";
|
||
|
})(E || (E = {}));
|