Same origin policy in js file

If in the website there’s an external js file added as

<script src=“”></script>

within the [COLOR=“Purple”][/COLOR] js file, there’s an ajax call to a script in

in such a case will there be the same-origin policy security problem, as it’s calling a script in a site from another website?