iframesJavaScriptIframesMediumHow can a page and its iframe communicate across origins?1Using the postMessage API and a message event listener2By directly accessing each other's variables3Through localStorage only4They cannot communicateBack to list