1//2 ways: either export with alias or import with alias
2//impor
3import { grettings as welsomeMessage } from './library.js'
4// Or export
5let grettings = "Welcome to Noob Learner";
6export { grettings as welsomeMessage };
7
8
9// export feature declared earlier as default
10export { myFunction as default };
11
12// export individual features as default
13export default function () { ... }
14export default class { .. }
15
16// each export overwrites the previous one
17