
It has very accurate syntax highlighting using a recursive-descent parser, strict recognition of the Ecma-262 language standard, supports most Rhino and SpiderMonkey extensions from 1.5 and up, and on-the-fly reporting of syntax errors and strict-mode warnings. Install the js2-mode that's likely the best JavaScript mode available for Emacs.

Tip: The font used on the screenshot above is FiraCode. If you're looking for more advanced integrations, you may want to This guide should help you get the syntax highlighting to work. Out of the box, while some require installing additional extensions.

These days, many popular editors support ES2015+ syntax highlighting
