As you probably read (agreed, notes are strung out and not
well-indexed), we considered that too. It fell to the objection that
users certainly want const and class declarations from one script to be
usable in subsequent scripts. For let, we didn't want to break symmetry
with const and class at top level (if you want per-script let, use a
block around the whole script body).
/be
saam barati wrote:
Sorry for the confusion, I was talking about my stated preference that
all lexical variables should be local
to the program they're defined in.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss