We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7842559 commit d6f4c51Copy full SHA for d6f4c51
jsre/pp_js.go
@@ -49,7 +49,7 @@ function pp(object, indent) {
49
} else if(typeof(object) === "number") {
50
str += "\033[31m" + object;
51
} else if(typeof(object) === "function") {
52
- str += "\033[35m[Function]";
+ str += "\033[35m" + object.toString().split(" {")[0];
53
} else {
54
str += object;
55
}
0 commit comments