Actually let's move away those monsters from the evaluate function
authorMihai Bazon <mihai@bazon.net>
Sun, 22 Sep 2013 11:54:32 +0000 (14:54 +0300)
committerMihai Bazon <mihai@bazon.net>
Sun, 22 Sep 2013 12:00:42 +0000 (15:00 +0300)
commit037199bfe2e60ceca0b39fca20f833b02d6c85db
tree62b9b57a31fca03326a2b7da3ed8673bf84ce9de
parent583fac0a0f4f5ae9b71a051730b4834a190f6387
Actually let's move away those monsters from the evaluate function

ev() should do a single thing — evaluate constant expressions.  if that's
not possible, just return the original node.  it's not the best place for
partial evaluation there, instead doing it in the compress functions.
lib/compress.js
test/compress/arrays.js