I am trying to define an AsyncFunction (please note the big F) in node as described here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
But I get:
AsyncFunction('var1', 'var2', 'let test=var1+var2') (1, 2)
ReferenceError: AsyncFunction is not defined
Creating a normal Function object works fine. Does NodeJS not support AsyncFunction?