Пропустите значение внутри файла JS с помощью тега скрипта

I came across an idea as assigning an id to the <script> element and 
passing the arguments as data-* attributes. The resulting <script> tag would 
look something like this:

<script id="helper" data-name="helper" src="helper.js"></script>

The script could then use the id to programmatically locate itself and parse 
the arguments. Given the previous <script> tag, the name could be retrieved 
like this:

var name = document.getElementById("helper").getAttribute("data-name");

We get output name = helper
Lokesh003