Will use of the debugging feature console.log reduce JavaScript execution performance? Will it affect the speed of script execution in production environments?
console.log
Any function call will slightly reduce performance. But a few console.log's should not have any noticeable effect.
However it will throw undefined errors in older browsers that don't support console
console