Die Importanweisung außerhalb eines Moduls von der Konsole.log kann nicht verwendet werden
//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
tinydev