+1 to that; and, as a practice, we def should be failing noisily rather than a silent return!
On Fri, Apr 27, 2012 at 12:05 PM, Filip Maj <[email protected]> wrote: > >>My vote is typeof for everything but Array and Date, and add some >>handy-dandy util methods isArray() and isDate() to do the checking with >>the >>toString hack(). > > +1 >
