UNPKG

defs

Version:

Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.

17 lines (13 loc) 160 B
"use strict"; var x = 3; let x = 4; const x = 5; function f() { let f = 1; function f() { } const y = 1; if (1) { var y; } }