If I do in REPL:
````
> f = Function('a', 'b', 'c', 'd', 'e', "console.log('what what')")
[Function]
> f.toString()
'function anonymous(a,b,c,d,e\n/**/) {\nconsole.log(\'what what\')\n}'
````
Notice how the function arguments have an extra /**/ in them? Not sure
where this is coming from, but it broke a few (admittedly fragile) tests of
mine. Is this change going to stick for sure in 0.11, or only temporary? Is
there anymore info as to why this is happening?
This happens in the REPL or in plain code, and does not occur in 0.6, 0.8,
or 0.10.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.