Scalability
Low
Catalog Client Script
Client Script
Widget
Widget Angular Provider
UI Script
SN-0114
The alert function can be useful for debugging during development, but in production mode this kind of pop-up could expose sensitive information to attackers, and should never be displayed.
Remove all alert function calls from your code.
5 min
if(unexpectedCondition) { alert(“Unexpected Condition Is Happening”); }
if(unexpectedCondition) { console.log(“Unexpected Condition Is Happening”); }