diff --git a/pkg/reducer/nodejs.go b/pkg/reducer/nodejs.go index fe03f4f..25ca0a1 100644 --- a/pkg/reducer/nodejs.go +++ b/pkg/reducer/nodejs.go @@ -62,7 +62,7 @@ func nodejs(args []string) string { f = function () { return %v } .call(x) - x = typeof f === 'function' ? f(x) : fn + x = typeof f === 'function' ? f(x) : f `, a) } // Generate a beautiful error message.