About this question
I am trying to build an LWC to listen to an event from window.postMessage by using window.AddEventLister. Here is a code I used:
After using this code, when I use the Chrome console to post any message to the window, I don’t see any logs from LWC. I have used Add.EventListener and this. addEventListener. What am I doing wrong?

