Skip to content

JayasreeBarigela/Import-and-Export-a-Function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Import and Export a Function using Common JS Module Syntax

Create two files exportFunction.js, importFunction.js parallel to README.md file.

Write a JS function that returns the This is a Function text, in the file exportFunction.js and export it using the default export syntax.

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