Hi John,
> Module declarations are only allowed at the top level of a script or module,
> but for convenience, they can nest within top-level blocks, and are hoisted
> to be in scope for the entire containing script or module.
>
> Can someone explain what this sentence means?
>
> To me it say
In
http://wiki.ecmascript.org/doku.php?id=strawman:simple_modules
it says:
Module declarations are only allowed at the top level of a script or
module, but for convenience, they can nest within top-level blocks, and
are hoisted to be in scope for the entire containing script or module.
Can so
2 matches
Mail list logo