diff --git a/bin/6to5/index.js b/bin/6to5/index.js index 955671555d..6b1019ba4e 100755 --- a/bin/6to5/index.js +++ b/bin/6to5/index.js @@ -34,13 +34,10 @@ commander.on("--help", function(){ console.log(" " + title + ":"); console.log(); - var hasOptional = true; - _.each(_.keys(obj).sort(), function (key) { if (key[0] === "_") return; if (obj[key].optional) { - hasOptional = true; key = "[" + key + "]"; }