js-flat-functions

js-flat-functions is a variable defined in `js.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
Treat nested functions as top-level functions in `js-mode'.
This applies to function movement, marking, and so on.

You can customize this variable.