securityJavaScriptSecurityHardWhat does the same-origin policy restrict?1Scripts from one origin accessing data from a different origin2Loading images from a CDN3Using localStorage4Running inline scriptsBack to list