
ES6 provides us to import a module and use it in other file. ES6 provides two ways to export a module form a file: named export default export Default Export: (export default) One can have only one default export per file. when we import we ...
Markdown supported · ⌘↵ to post
Aryan Namdev
Helpful!