diff --git a/lib/compress.js b/lib/compress.js index 5cf2a2e6..bf2d895d 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -6275,7 +6275,7 @@ Compressor.prototype.compress = function(node) { // tell me if a statement aborts function aborts(thing) { - return thing && thing.aborts(); + return thing && thing.aborts && thing.aborts(); } (function(def) { def(AST_Statement, return_null);