There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
It would be great if enums still acted as numbers for arithmetic and bitwise operators, but could also be toString'ed correctly.
That could be done by creating a class for an enum, and overriding valueOf and toString.
Also the name of an enum should be possible to use as a converter function from number to the enum (similar to Number("12")).
Creating classes for enums might sound non-performant, but actually there could only be a small number of values per enum.