Would it possible to special-case new Array / new Array() and new Object/new Object() to respectively be equal to [] and {}?
I'm just using a grep pre-pass for now which is fine, but since those are the same in JS, I think it'd be nice if they were recognized.
Hi,
Would it possible to special-case
new Array
/new Array()
andnew Object
/new Object()
to respectively be equal to[]
and{}
? I'm just using a grep pre-pass for now which is fine, but since those are the same in JS, I think it'd be nice if they were recognized.