What is "require" and "import" for in javascript?

Asked

Viewed 19 times

0

I’m a beginner in JS and, during some readings for educational purposes to sites like Stack Overflow and Mozilla Documentation, I noticed commands like require() and import. I would like to know what their functionality, please explain to me in a didactic way I’m layman yet. Obg good night

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.