export //导出一个变量或函数 export const sum = 123; export function print() { console.log('funcA'); } //使用大括号方式 export {