new AsyncFunction
the Async Version of new Function
I just learned about new AsyncFunction
which is the async version of new Function
. I had never heard of it before, but it is in the MDN docs.