possible optimization for AST_Undefined
authorMihai Bazon <mihai@bazon.net>
Mon, 17 Sep 2012 09:24:21 +0000 (12:24 +0300)
committerMihai Bazon <mihai@bazon.net>
Mon, 17 Sep 2012 09:27:32 +0000 (12:27 +0300)
commit92e22c460d689008055f4f3f9b850989e4359f4d
tree5d56c00bd2ad266431c687d59daac45ec39dec89
parent14481de0e9141eff41877f56876f7e6a78c3d059
possible optimization for AST_Undefined

if undefined is defined, ;-), we replace AST_Undefined nodes to a reference
to the "undefined" variable; in turn the mangler will compress it to a
single letter; this helps at least on jQuery.
lib/compress.js