What is true about the top-level await usage in these examples?
// CommonJS
const { readFile } = require('fs');
const data = readFile('file.txt');
// ES Modules
import { readFile } from 'fs';
const data = await readFile('file.txt');
Top-level await usage differs between module systems: 1) Only ES Modules support top-level await, 2) CommonJS requires await to be used inside an async function, 3) The ES Modules example shows proper top-level await usage, 4) The CommonJS example would fail without wrapping in an async function, 5) ES Modules' support for top-level await simplifies async code organization, 6) CommonJS modules must use alternative patterns for async operations, 7) This capability in ES Modules enables better handling of async dependencies and initialization.