Hacker News new | ask | show | jobs
by wwweston 4010 days ago
That's... interesting. I guess it makes a little sense -- `let` seems to be for developers who don't like `var` semantics. Usually that seems to be about wanting block instead of function scope, but maybe there's a contingent that dislikes `undefined` too.
1 comments

`let` doesn't disappear `undefined` though.

    >> let a;
    >> a;
    undefined