application/javascript;application/x-javascript;text/x-javascript;text/javascript;text/x-js
*.js
//
/*
*/
[\p{L}\p{Nl}\x{1885}-\x{1886}\x{2118}\x{212E}\x{309B}-\x{309C}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\x{00B7}\x{0387}\x{1369}-\x{1371}\x{19DA}$\x{200C}\x{200D}]
(?: \\u (?: [0-9a-fA-F]{4} | \{ [0-9a-fA-F]{1,} \} ) )
(?: \%{def:unicode-id-start} | [$_] | \%{unicode-escape} )
(?: \%{def:unicode-id-continue} | [$\x{200C}\x{200D}] )
(?: \%{identifier-char} | \%{unicode-escape} )
(?: \%{identifier-start} \%{identifier-part}* )
[\t\x{000B}\f \x{00A0}\x{FEFF}\p{Zs}]
[^\t\x{000B}\f \x{00A0}\x{FEFF}\p{Zs}\n\r\x{2028}\x{2029}]
(?= \%{not-whitespace} )
(?: ; | \%{before-next-token} )
(?: \%{statement-end} | $ )
\*
(?:
\%{optional-whitespace-or-comments}
\(
)
(?:
\%{optional-whitespace-or-comments}
\.
\%{optional-whitespace-or-comments}
target \%]
)
(?:
(?:
\%[ async \%]
\%{optional-whitespace-or-comments}
)?
\%[ function \%]
)
(?: \%[ class \%] )
(?=\*/)
\%{def:always-match}
await
break
case
catch
class
const
continue
debugger
default
delete
do
else
export
extends
finally
for
function
if
import
instanceof
in
new
return
super
switch
this
throw
try
typeof
var
void
while
with
yield
let
static
enum
implements
interface
package
private
protected
public
\%{identifier}
(?=\%{identifier-start})
\%{def:always-match}
(?=\%{identifier-start})
\%{def:always-match}
(?=\%{identifier-start})
\%{def:always-match}
(?=\%{identifier-start})
\%{def:always-match}
\%{before-next-token}
\%{before-next-token}
=
\%{before-next-token}
\%{before-next-token}
\%{before-next-token}
\.
\%{before-next-token}
\%{before-next-token}
\.\.\.
\%{before-next-token}
\%{before-next-token}
\.\.\.
\%{before-next-token}
\%{before-next-token}
\%{generator-modifier}
\%{before-next-token}
\%{before-next-token}
\[
]
\%{before-next-token}
\%{before-next-token}
,
\%{before-next-token}
:
\%{before-next-token}
\%{before-next-token}
\%{before-next-token}
{
}
\%{before-next-token}
\%{before-next-token}
,
\%{before-next-token}
\%{before-next-token}
\%{before-next-token}
\%{before-next-token}
\%{before-next-token}