Skip to content

premkumarjinka/object-import-and-export-using-common-js-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Import and Export an Object using Common JS Module Syntax

Create two files exportObject.js, importObject.js parallel to README.md file.

Write an object with keys as firstName and lastName and values as John and Wilson respectively in the file exportObject.js and export it using the default export syntax.

Import the object in the importObject.js file.

Use Common JS module syntax.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published