

% dblatex does not include support for JavaScript syntax highlighting
% (JavaScript is not part of the listings package).
% https://developer.jboss.org/thread/200363?tstart=0&_sscc=t
% https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings

\lstdefinelanguage{javascript}{
  keywords={break, case, class, catch, const, continue, debugger, default, delete, do, else, export, extends, finally, for, function, if, import, in, instanceof, new, return, super, switch, this, throw, try, typeof, var, void, while, with, yield},
  keywords=[2]{await, enum, implements, interface, let, package, private, protected, public, static},
  sensitive=false,
  comment=[l]{//},
  morecomment=[s][\color{blue}\ttfamily]{/*}{*/},
  morestring=[b]',
  morestring=[b]"
}
