chriso/node-validator — comment on commit b014e3d080a2af6f449296f704f28361cdc8b2ed
File: validator.js line 362
By chriso:

Not sure how [this](https://github.com/chriso/node-validator/blob/master/lib/xss.js#L42) got in here. We can't use `Array.isArray()` in the client-side version though because it's not available in all browsers. I believe [this](https://github.com/documentcloud/underscore/blob/master/underscore.js#L780) is the way to do it