I just started to use js2-mode
in Emacs, and I found some variables like js2-global-externs
and js2-additional-externs
. The doc string says it is "A list of any extern names you'd like to consider always declared."
I don't understand what "extern" means here. I only knew the "extern" keyword in C, so I started to discover what "extern" means. I searched JavaScript extern
/Ecma-262 extern
/web browser extern
but didn't get anything that looked promising. Can anyone point me in the right direction?