Why use underscore when you can use the ES5-shim. On Sun, Oct 30, 2011 at 9:35 PM, Nick Morgan <[email protected]> wrote:
> On 30 October 2011 12:37, Jake Verbaten <[email protected]> wrote: > >> No, you don't need underscore. You need ES5. >> >> `Array.isArray` >> >> and >> >> `typeof o === "object" && o !== null` >> >> >> > Meanwhile, back in the real world, he needs underscore :) [Most of what > underscore gives you is features from ES5, but if you're supporting > browsers then chances are you don't have ES5, thus you need underscore] > -- > Nick Morgan > http://skilldrick.co.uk > @skilldrick > > Save our in-boxes! http://emailcharter.org > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
