It should be at the top of each script that you want to apply to strict.
But , if the scripts were combined using a mini-code, then "use strict" at the top of the first file will be applied to all files (since they will be in one file).
- ( ?), , IIFE script.
<script src="foo.js">
(function () {
"use strict";
}());
</script>