diff options
Diffstat (limited to 'lib/propmangle.js')
-rw-r--r-- | lib/propmangle.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/propmangle.js b/lib/propmangle.js index f2777475..3c75cac9 100644 --- a/lib/propmangle.js +++ b/lib/propmangle.js @@ -149,6 +149,7 @@ function mangle_properties(ast, options) { // only function declarations after this line function can_mangle(name) { + if (!is_identifier(name)) return false; if (unmangleable.indexOf(name) >= 0) return false; if (reserved.indexOf(name) >= 0) return false; if (options.only_cache) { |