Toplevel 'let' binding can be left permanently uninitialized after an error

T.J. Crowder tj.crowder at
Tue Nov 28 19:44:16 UTC 2017

On Tue, Nov 28, 2017 at 7:31 PM, Joseph <pacerier at> wrote:
> Re "x is irreparably hosed in your REPL"; you can still use it in
subscope, eg <{let x=1;console.log(1)}>.

Well yes, of course you can. You can also use it in nested functions. Or
even whole other scripts, which is nearly as relevant.

-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list