http://wiki.ecmascript.org/doku.php?id=harmony:let
http://wiki.ecmascript.org/doku.php?id=harmony:const
http://wiki.ecmascript.org/doku.php?id=harmony:block_scoped_...
Some of the new-function/lambda-syntax proposals even support Tennent's Correspondence Principle to some degree.