sourceTextModule.hasTopLevelAwait()
- 返回:<boolean>
返回模块本身是否包含任何顶层 await 表达式。
【Returns whether the module itself contains any top-level await expressions.】
这对应于 ECMAScript 规范中 循环模块记录 的字段 [[HasTLA]]。
【This corresponds to the field [[HasTLA]] in Cyclic Module Record in the
ECMAScript specification.】