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 4106459 commit 0ea3cedCopy full SHA for 0ea3ced
1 file changed
example/index.ts
@@ -27,7 +27,6 @@ parser
27
* Compiled output
28
*/
29
const output = buffer.flush()
30
-console.log(output)
31
32
const state = { username: 'virk' }
33
@@ -42,5 +41,5 @@ function reThrow(error: Error) {
42
41
/**
43
* Wrap inside function and invoke it
44
45
-const fn = new Function('state, escape, reThrow', output)
+const fn = new Function('state', 'escape', 'reThrow', output)
46
console.log(fn(state, escape, reThrow))
0 commit comments