Skip to content

Commit

Permalink
Add more global builtin names
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdz committed Mar 29, 2017
1 parent f795e6b commit 116d76a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/ufuzz.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,15 @@ var VAR_NAMES = [
'Infinity', // the fun never ends!
'arguments', // this one is just creepy
'Math', // since Math is assumed to be a non-constructor/function it may trip certain cases
'parseInt',
'parseFloat',
'isNaN',
'isFinite',
'decodeURI',
'decodeURIComponent',
'encodeURI',
'encodeURIComponent',
'Object',
'let' ]; // maybe omit this, it's more a parser problem than minifier
var INITIAL_NAMES_LEN = VAR_NAMES.length;

Expand Down

0 comments on commit 116d76a

Please sign in to comment.