You can think of partial views as plain html on your web page if that helps. The browser does not distinguish between html in a partial view and the rest of the html surrounding it.
According to this logic, the best place to place Javascript (including links to external scripts) on a web page (regardless of whether it contains html that is part of a partial view or not) is in a canonical location at the bottom of the page, although there are exceptions.
, Javascript-, html script, - , script. .