Accepted Answer
JSONP is a way to transport JSON data without being concerned about cross-domain problems. JSONP is merely a script inclusion that enables callback usage.However, you should be mindful about cross-site request forgery (CSRF). JSONP isn't any more insecure than a script inclusion as long as you have control over the script and the server. Unless you have a JSONP-service that gives logged-in users access to sensitive data. For argument's sake, sending the username and password as GET variables would be one approach to log a user into a distant site using solely JSONP (since that is the only way HTTP requests can get you the data in a script tag). Because it is a risky authentication mechanism, it should be avoided.Learn more about script here-https://brainly.com/question/27608635#SPJ4