![javascript - Is there a method to display string in console.log first then after trigger an alert? - Stack Overflow javascript - Is there a method to display string in console.log first then after trigger an alert? - Stack Overflow](https://i.stack.imgur.com/QBHOS.png)
javascript - Is there a method to display string in console.log first then after trigger an alert? - Stack Overflow
![How To Display [Object Object] In console.log or Alert in JavaScript (LWC & Lightning Aura Components) | Salesforce Lightning Web Components, Aura Components, Apex Triggers, Apex REST API Integration How To Display [Object Object] In console.log or Alert in JavaScript (LWC & Lightning Aura Components) | Salesforce Lightning Web Components, Aura Components, Apex Triggers, Apex REST API Integration](https://1.bp.blogspot.com/-KobTkchRn9s/XyZPIhkCg6I/AAAAAAAACiY/nAK-wI-w6x0xX6yylS5ZT0JDGbr5UQCEgCLcBGAsYHQ/s1600/Display%2Bobject%2Bas%2Bstring%2Bin%2Bjavascript.png)
How To Display [Object Object] In console.log or Alert in JavaScript (LWC & Lightning Aura Components) | Salesforce Lightning Web Components, Aura Components, Apex Triggers, Apex REST API Integration
![console.log a javascript Object/Class - same result before and after the change of the prototype - Stack Overflow console.log a javascript Object/Class - same result before and after the change of the prototype - Stack Overflow](https://i.stack.imgur.com/tjFuW.png)