aboutsummaryrefslogtreecommitdiff
path: root/node_modules/uglify-js/lib/propmangle.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/uglify-js/lib/propmangle.js')
-rw-r--r--node_modules/uglify-js/lib/propmangle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/uglify-js/lib/propmangle.js b/node_modules/uglify-js/lib/propmangle.js
index 36a67e80a..c2f27c421 100644
--- a/node_modules/uglify-js/lib/propmangle.js
+++ b/node_modules/uglify-js/lib/propmangle.js
@@ -84,7 +84,7 @@ function reserve_quoted_keys(ast, reserved) {
function addStrings(node, add) {
node.walk(new TreeWalker(function(node) {
if (node instanceof AST_Sequence) {
- addStrings(node.expressions[node.expressions.length - 1], add);
+ addStrings(node.tail_node(), add);
} else if (node instanceof AST_String) {
add(node.value);
} else if (node instanceof AST_Conditional) {