You need to do a couple of things in this task:
- create the file
constants.js
- export the constant
hello
which should be the stringHello, export world!
from it - import it into
solution.js
Eventually you should see the Hello, export world!
printed to the screen.
This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task
solution.js
console.log(hello); // Hello, export world!