danielfloresd / team-profile-generator

Found unsafe function declarations JS-0073
Bug risk
Major
1 occurrence in this check
Function declared in a loop contains unsafe references to variable(s) 'console'
16
17    for (const key in colors) {
18      // Each color method calls console.log with the color as the first argument,followed by any additional arguments.
19      Logger.prototype[key] = function(...args) {20        console.log(colors[key], ...args);21      };22    }
23  }
24}