visionmedia/should.js — pull request #66 by anneli (2012-05-02 14:18:27+00:00)
Title: Use .valueOf() only when necessary.

Recent versions of V8 (node 0.7.6+) cause a fairly-transparent Object
wrapper to be applied to primitives when they're used as an Object
instance.

This hack detects these wrappers -- possibly incompletely -- and unwraps
the it in these instances, for equality tests' sakes.

See #65.