Imports, Exports and Modules 😕 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Imports, Exports and Modules 😕

Does anyone know how to use import and export in JavaScript? I have searched across the whole internet (maybe a little bit exaggerated) and I still have no clue on how these work.

4th Jan 2018, 4:07 PM
The Coding Sloth
The Coding Sloth - avatar
1 Answer
+ 12
I know about them..... they are ES6 equivalents of module.exports and require()... I suggest you to take the JS course from codecademy where they teach JS ES6 in depth Other useful website for this is the MDN
4th Jan 2018, 5:03 PM
Cool Codin
Cool Codin - avatar