Arrays need the object prototype too. 

Found that the array's object prototype was missing and caused a "Cannot convert object to primitive value" type error when trying to use arr.toString() or isNaN(arr). 

Came about this when trying to evaluate arrays in a querystring after attempting and upgrade of express v.3.2.0 to v3.2.5.

Cheers.