remove unused i variable in default parameters transformer
This commit is contained in:
parent
a027d2b9cf
commit
0dbb24c922
@ -20,7 +20,7 @@ exports.Function = function (node, parent, file, scope) {
|
|||||||
|
|
||||||
// temporal dead zone check - here we prevent accessing of params that
|
// temporal dead zone check - here we prevent accessing of params that
|
||||||
// are to the right - ie. uninitialized parameters
|
// are to the right - ie. uninitialized parameters
|
||||||
_.each(ids.slice(i), function (ids, i) {
|
_.each(ids.slice(i), function (ids) {
|
||||||
var check = function (node, parent) {
|
var check = function (node, parent) {
|
||||||
if (!t.isIdentifier(node) || !t.isReferenced(node, parent)) return;
|
if (!t.isIdentifier(node) || !t.isReferenced(node, parent)) return;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user