UNPKG

defs

Version:

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

14 lines (11 loc) 100 B
"use strict"; const x = 3; x++; --x; x = 4; x *= 2; x /= 2; if (true) { let x = 3; x++; }