diff --git a/jsre/pp_js.go b/jsre/pp_js.go index e5e52b1a2..20821e4a1 100644 --- a/jsre/pp_js.go +++ b/jsre/pp_js.go @@ -49,7 +49,7 @@ function pp(object, indent) { } else if(typeof(object) === "number") { str += "\033[31m" + object; } else if(typeof(object) === "function") { - str += "\033[35m[Function]"; + str += "\033[35m" + object.toString().split(" {")[0]; } else { str += object; }