I\'m rebuilding an old Java project in Javascript, and realized that there\'s no good way to do enums in JS.
The best I can come up with is:
const C
You can check Enumify, a very good and well featured library for ES6 enums.