Matt, While it would not affect the results, I believe you can shave a few ms off by using ===
On Feb 18, 11:26 am, Matt Kruse <m...@thekrusefamily.com> wrote: > On Feb 18, 6:57 am, John Resig <jere...@gmail.com> wrote: > > > typeof FOO === "string" > > typeof FOO === "number" > > typeof FOO === "boolean" > > == is sufficient. typeof always returns a string. > > Matt Kruse