From bfb5f85ad30f42d7727ca1ad44161470c6e6cf3a Mon Sep 17 00:00:00 2001 From: kzc Date: Sun, 14 Jan 2018 00:45:07 -0500 Subject: [PATCH] omit uninteresting block_scope tag --- bin/uglifyjs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bin/uglifyjs b/bin/uglifyjs index d8d7ce74..a5a9fec0 100755 --- a/bin/uglifyjs +++ b/bin/uglifyjs @@ -269,11 +269,9 @@ function run() { _class: "AST_" + value.TYPE }; if (value.block_scope) { - result.block_scope = { - variables: value.block_scope.variables, - functions: value.block_scope.functions, - enclosed: value.block_scope.enclosed, - }; + result.variables = value.block_scope.variables; + result.functions = value.block_scope.functions; + result.enclosed = value.block_scope.enclosed; } value.CTOR.PROPS.forEach(function(prop) { result[prop] = value[prop];