mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
241 B
TypeScript
17 lines
241 B
TypeScript
//// [tests/cases/compiler/enumAutoIncrementValue.ts] ////
|
|
|
|
//// [a.ts]
|
|
enum E {
|
|
A = 0 / 0,
|
|
B,
|
|
}
|
|
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
var E;
|
|
(function (E) {
|
|
E[E["A"] = NaN] = "A";
|
|
E[E["B"] = NaN] = "B";
|
|
})(E || (E = {}));
|