Legitimate uses of the Function constructor
NWMatcher — Javascript CSS selector and matcher, by Diego Perini — uses Function constructor (1, 2, 3, 4, etc.) to create (“compile”) highly-efficient versions of selector matchers. The benchmark (which I just ran on Chrome 5) speaks for itself: Note the difference between NWMatcher and Sizzle, which is a very similar selector engine, only without … Read more