[Please note: This is not a duplicate of the issue I recently filed regarding a formatting bug by highlight.js on the solutions page. The issue here relates to the CodeMirror editor on the training page.]
Notice how the code editor formats this Javascript ES6 class incorrectly. The object properties within sayFullName() are not colored correctly. The words 'log', 'firstName', and 'lastName' should all be blue since they are object properties. On the other hand, it seems the word 'constructor' should be colored white rather than blue to match the other functions.
Curiously, the 'log' property is colored correctly in the greetExtraTerrestrials function that follows.

Source: http://www.codewars.com/kata/56f7f8215d7c12c0e7000b19/train/javascript
[Please note: This is not a duplicate of the issue I recently filed regarding a formatting bug by highlight.js on the solutions page. The issue here relates to the CodeMirror editor on the training page.]
Notice how the code editor formats this Javascript ES6 class incorrectly. The object properties within sayFullName() are not colored correctly. The words 'log', 'firstName', and 'lastName' should all be blue since they are object properties. On the other hand, it seems the word 'constructor' should be colored white rather than blue to match the other functions.
Curiously, the 'log' property is colored correctly in the greetExtraTerrestrials function that follows.
Source: http://www.codewars.com/kata/56f7f8215d7c12c0e7000b19/train/javascript