Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index 9e0b8e2f70ea1e53ca855f022717a232c38a2770..d885823fed7418cf68e26a2d8fd75b309ddbe61b 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -1748,6 +1748,10 @@ function FunctionSourceString(func) { |
} |
} |
+ if (%FunctionIsArrow(func)) { |
+ return source; |
+ } |
+ |
var name = %FunctionNameShouldPrintAsAnonymous(func) |
? 'anonymous' |
: %FunctionGetName(func); |