incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <...@adobe.com>
Subject Re: `instanceof` considered harmful in cordova-js
Date Fri, 27 Apr 2012 19:05:47 GMT

>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


Mime
View raw message