Jeremy Martin (2016-09-15T19:47:15.000Z)
forbes at lindesay.co.uk (2016-09-16T09:55:26.633Z)
> If yes ... why would anyone write that ? I think it would have to be "yes" (and that's probably just a contrived example that doesn't demonstrate the usefulness). Slightly less contrived, I could see the value in this, though. E.g., ```js router.get('/user', (req, res, next) => { if (let user = req.session.user) { // do stuff with user here } else { res.status(401).end(); } }); ``` I don't think it works as cleanly with `var`, but `const` and `let` has some nice precedence with for-statements.