// foo.jsexport const name = "why"export const age = "18"
// main.jsimport {name,age} from "./foo.js"console.log(name)console.log(age)