jscript: Added Function.toString implementation for builtin functions.
diff --git a/dlls/jscript/error.c b/dlls/jscript/error.c
index f3da405..2aa5436 100644
--- a/dlls/jscript/error.c
+++ b/dlls/jscript/error.c
@@ -374,7 +374,7 @@
hres = jsdisp_propput_name(&err->dispex, nameW, ctx->lcid, &v, NULL/*FIXME*/, NULL/*FIXME*/);
if(SUCCEEDED(hres))
- hres = create_builtin_function(ctx, constr_val[i], NULL,
+ hres = create_builtin_function(ctx, constr_val[i], names[i], NULL,
PROPF_CONSTR, &err->dispex, constr_addr[i]);
jsdisp_release(&err->dispex);