Block-level scoping with let and const (Babel)

This page runs a series of a examples using block-level scoping with let and const in ECMAScript 6 using Babel transpilation. Open up your debugging console to view the output.

For more information on how block scoping works and its level of support, check out the Block-level scoping with let and const article that is part of the Learning ES6 series.

Source code | Native example | Traceur example | Index of examples