cannot use import statement outside a module from the console.log
//method of exporting variables, contants and...
export const greetings = "Hi"; //saved as ex1.js
import {greetings} from "[specify path]/JavaScript Exercises/ex1.js"; //saved as mod.js