LearnBoost/expect.js — comment on commit 9c3cd6329feeded934de66f663f85ee12aa5b11d
File: expect.js line 212
By 3rd-Eden:

Why aren't you using `Object.prototype.toString.call(this.obj).slice(8, -1).toLowerCase() === type` for this?
Because this check will probably see /regexp/ === function in older chrome versions. And you don't need
isArray support either.