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