Java-Enums are not translated. There are no enums in JS Proposal: ``` enum Direction { UP, DOWN } ``` could be translated to: ``` class Direction { static int UP = 1; static int DOWN = 2; } ```