How to get a parameter from a link to a js script?

  • 0
    It is necessary to get the parameter in the js file from the link to it
    src = "// / script.js? param = this parameter must be obtained"
    and for this parameter to appear in this file
    how is this possible to implement?
    JavaScript Anonymous, Aug 19, 2019

  • 1 Answers
  • 0

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