diff options
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -521,6 +521,10 @@ var AST_Lambda = DEFNODE("Lambda", "argnames length_read uses_arguments", { }, each_argname: function(visit) { var tw = new TreeWalker(function(node) { + if (node instanceof AST_DefaultValue) { + node.name.walk(tw); + return true; + } if (node instanceof AST_DestructuredKeyVal) { node.value.walk(tw); return true; |