eslint/eslint — pull request #1056 by jrajav (2014-07-08 11:59:04+00:00)
Title: Fix: Stringify before new-cap check

Fixes #1053.

Adding failing test replicating #1053 that passes with change.

Another approach would be to only allow string literals through `extractNameFromExpression`. I figured it made little difference since numbers are the only other literal we really need to worry about and they'll never begin with a character.