diff options
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js index 26c11bd9..d42f84d1 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -2509,7 +2509,7 @@ merge(Compressor.prototype, { if (self.undeclared() && !isLHS(self, compressor.parent())) { var defines = compressor.option("global_defs"); - if (defines && defines.hasOwnProperty(self.name)) { + if (defines && HOP(defines, self.name)) { return make_node_from_constant(compressor, defines[self.name], self); } switch (self.name) { |