let and file scope

Ryan Scheel ryan.havvy at gmail.com
Sat Mar 1 23:37:20 PST 2014


It creates a variable scoped to the source file.


On Sat, Mar 1, 2014 at 4:38 PM, Mark Volkmann <r.mark.volkmann at gmail.com>wrote:

> Does a top-level let in a file (not inside any function) create a global
> variable just like var or does it create a variable that is scoped to the
> source file?
>
> ---
> R. Mark Volkmann
> Object Computing, Inc.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140301/27fe4384/attachment.html>


More information about the es-discuss mailing list