fix mangleProperties of undefined & Infinity (#1772)
`NaN` already works by the happy accident of `Number.NaN` fixes #1770
This commit is contained in:
@@ -44,7 +44,11 @@
|
||||
"use strict";
|
||||
|
||||
function find_builtins() {
|
||||
var a = [];
|
||||
// NaN will be included due to Number.NaN
|
||||
var a = [
|
||||
"Infinity",
|
||||
"undefined",
|
||||
];
|
||||
[ Object, Array, Function, Number,
|
||||
String, Boolean, Error, Math,
|
||||
Date, RegExp
|
||||
|
||||
Reference in New Issue
Block a user