I am trying to create an async function in unsafe JS that can invoke an async function and return a value.
This code can call the async function "test" from the unsafe script, but when it try to return it produces the error "TypeError: # could not be cloned."
I am trying to create an async function in unsafe JS that can invoke an async function and return a value.
This code can call the async function "test" from the unsafe script, but when it try to return it produces the error "TypeError: # could not be cloned."
Node.js v18.19.0 isolated-vm v4.7.2