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.