Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index 2770e4366f7030bb143f01256021bf38a3660873..cc2e1c5e4dc7193f1dc3fe526a73786a0a97cfd1 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -1710,7 +1710,7 @@ function NewFunction(arg1) { // length == 1 |
p += '\n/' + '**/'; |
} |
var body = (n > 0) ? ToString(%_Arguments(n - 1)) : ''; |
- var source = '(function(\n' + p + '\n) {\n' + body + '\n})'; |
+ var source = '(function(' + p + ') {\n' + body + '\n})'; |
// The call to SetNewFunctionAttributes will ensure the prototype |
// property of the resulting function is enumerable (ECMA262, 15.3.5.2). |