这是 JavaScript 模块的备忘单:
出口:
// Exporting a named function
export function functionName() {
// Function implementation
}
// Exporting a named variable
export const variableName = 10;
// Exporting multiple items
export {
funct