Spidermonkey has the useful behavior of printing a newline when no argument is passed:
This can be easily worked around by passing an empty string, but it prevents reuse of code between the two implementations.
Created attachment 21562 [details]
Comment on attachment 21562 [details]
+ if (args.size())
I would rather you use !args.isEmpty() here.
Landed in r34428.