TypeScript/tests/baselines/reference/enumWithNaNProperty.js

12 lines
164 B
TypeScript

//// [enumWithNaNProperty.ts]
enum A {
NaN = 1
}
//// [enumWithNaNProperty.js]
var A;
(function (A) {
A[A["NaN"] = 1] = "NaN";
})(A || (A = {}));