How to call var function from one js file in another js file?

  • 0
    i have a function in zapret.js file i need to call it in app.js file var = zapret / (forbidden words) / )
    JavaScript Luke Klein, Aug 20, 2020

  • 1 Answers
  • 0
    You need to export it from zapret.js and import it into app.js, here: export and import
    Isabelle Burton

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!