osteele/functional-javascript — pull request #3 by fschaefer (2012-06-15 14:30:22+00:00)
Title: "SyntaxError: malformed formal parameter" with leading spaces in expression

If an expresson has leading spaces, like in " x->x*2".lambda(), Firefox bails out with "SyntaxError: malformed formal parameter". Trimming the expression solves this issue. The tests reports "passed". I assume, that even the crappy browsers support the use of numbered captering groups in regex.