Closed
Description
JSONP is a way to get data across domains by inserting a script tag.
client app inserts this into DOM
<script src="https://status.github.com/api/status.json?callback=apiStatus"></script>
it also publishes apiStatus
window.apiStatus = function(data) { ... }
The server then responds with:
apiStatus({"Name": "Foo", "Id": 1234, "Rank": 7});
Because Script tag gets inserted there is a async side-effect which will escape the zone.