Skip to main content

Module global

Module global 

Source
Expand description

The flags of CheckGlobalVar, DeclareGlobal and DefineGlobal, in b.

Constants§

DEFINABLE
CheckGlobalVar: only whether the global object can take the declaration (CanDeclareGlobalFunction or CanDeclareGlobalVar).
EVAL
The code is eval code: its bindings are configurable.
FUNCTION
The name is a function declaration’s.
LEXICAL_CONFLICT
CheckGlobalVar: only whether a lexical declaration has the name (16.1.7 step 4).