BugDomain: enumHelp Wanted
Repository metrics
- Stars
- Â (48,455 stars)
- PR merge metrics
-  (å¹³åããŒãž 6d 17h) (30d ã§ 9 merged PRs)
説æ
Bug Report
ð Search Terms
- const enum
ð Version & Regression Information
- This is a runtime crash
- This changed between versions 4.4.4 and 4.3.5
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _________
⯠Playground Link
Playground link with relevant code
ð» Code
const enum Foo {
a = 1,
}
console.log(Foo["1"])
ð Actual behavior
console.log(Foo["1"]);
ð Expected behavior
console.log("a");
or report error.