Read querystring from javascript file src=?

Read querystring from javascript file src=?

Hello,

Is it possible to read quertystring of the javascript file called?

For example


  1. <script src="test.js?param=1"></script>

Anyway to get param1?

Thanks!