MCPcopy Create free account
hub / github.com/nodejs/node / hasTopLevelAwait

Method hasTopLevelAwait

lib/internal/vm/module.js:445–448  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

443 }
444
445 hasTopLevelAwait() {
446 validateThisInternalField(this, kWrap, 'SourceTextModule');
447 return this[kWrap].hasTopLevelAwait;
448 }
449
450 createCachedData() {
451 const { status } = this;

Calls

no outgoing calls

Tested by

no test coverage detected