UNPKG

agentsqripts

Version:

Comprehensive static code analysis toolkit for identifying technical debt, security vulnerabilities, performance issues, and code quality problems

16 lines (11 loc) 433 B
// Global state issues - scalability concerns var globalCounter = 0; let sharedState = {}; const globalConnections = []; function incrementGlobal() { globalCounter++; // Race condition potential } function addConnection(conn) { globalConnections.push(conn); // Unbounded growth } window.myGlobalVar = 'browser global'; // Browser global