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 1efe000 commit a7f5c7fCopy full SHA for a7f5c7f
test/node/types.js
@@ -34,7 +34,7 @@ for (const [ getValue, _method ] of [
34
[ function() { return Object(BigInt(0)); }, 'isBigIntObject' ],
35
[ function() { return new Error(); }, 'isNativeError' ],
36
[ function() { return new RegExp(); } ],
37
- [ function() { return async function() {}; }, 'isAsyncFunction' ],
+ [ function() { return eval('(async function() {})'); }, 'isAsyncFunction' ],
38
[ function() { return function*() {}; }, 'isGeneratorFunction' ],
39
[ function() { return (function*() {})(); }, 'isGeneratorObject' ],
40
[ function() { return Promise.resolve(); } ],
0 commit comments