Create two files exportString.mjs
, importString.mjs
parallel to README.md
file.
Write a string Be Happy and Safe
in the file exportString.mjs
and export it using the default export syntax.
Import the string in the importString.mjs
file.
Use ES6 module syntax.