diff --git a/lib/6to5/transformation/transformers/es6/for-of.js b/lib/6to5/transformation/transformers/es6/for-of.js index 42125650b0..14140334b7 100644 --- a/lib/6to5/transformation/transformers/es6/for-of.js +++ b/lib/6to5/transformation/transformers/es6/for-of.js @@ -18,7 +18,7 @@ exports.ForOfStatement = function (node, parent, scope, file) { // inherit comments from the original loop t.inheritsComments(loop, node); - // ensure that it's a block so we can take all it's statemetns + // ensure that it's a block so we can take all its statements t.ensureBlock(node); // add the value declaration to the new loop body