There are "console.log"s scattered throughout the code. These should be replaced with calls to a centralized logging routine.
The centralized log routine would allow turning off diagnostic messages and potentially file or cloud message logging.
The log routine should use the common pattern of classifying messages as 'error', 'debug', 'info', etc. E.g., "Log.debug(msg)".
There are "console.log"s scattered throughout the code. These should be replaced with calls to a centralized logging routine.
The centralized log routine would allow turning off diagnostic messages and potentially file or cloud message logging.
The log routine should use the common pattern of classifying messages as 'error', 'debug', 'info', etc. E.g., "Log.debug(msg)".