documentcloud/underscore — comment on commit e79586515c5f635650afc32976826e01463dcd1d
File: test/objects.js line 186
By michaelficarra:

@jashkenas:

> Why should they be `toNumber`'d?

I know it's a little out there, but an object with a non-enumerable `length` that is the string value of another object's non-enumerable *numeric* `length` property should be the same if all the other properties have the same value.

So I'd prefer `if (+a.length !== +b.length) return false;`.