This page runs a series of a examples using block-level scoping with
const in ECMAScript 6 using
transpilation. Open up your debugging console to view the output.
For more information on how arrow functions work and their level of
support, check out the
Block-level scoping with
article that is part of the
Source code | Native example | Babel example | Index of examples