Skip to content

anushababburi097/import-and-export-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Import and Export a Function with Parameter using Common JS Module Syntax

Create two files exportFunctionWithParameter.js, importFunctionWithParameter.js parallel to README.md file.

Write a JS function that accepts a number and returns its square, in the file exportFunctionWithParameter.js and export it using the default export syntax.

Import the function in the importFunctionWithParameter.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