Skip to content

vikaskumaryadav13/Import-and-Export-an-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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published