Skip to content

learning exports and import of an array object in ES6 model

Notifications You must be signed in to change notification settings

swamysurya/export-and-import-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Import and Export an Array using ES6 Module Syntax

Create two files exportArray.mjs, importArray.mjs parallel to README.md file.

Write an array with the values as "countries", 190, "continents", 7, false, 6.2 in the exportArray.mjs file and export it using the default export syntax.

Import the array in the importArray.mjs file.

Use the ES6 module syntax.

//https://github.com/swamysurya/export-and-import-arrya.git

About

learning exports and import of an array object in ES6 model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages