// The logger should only be disabled if we’re not in production.
if (ENV !== 'production') {
// Enable the logger.
debug.enable('*');
log('Logging is enabled!');
} else {
debug.disable();
}
I think if I've understood correctly that the comment should read 'The logger should only be enabled if we're not in production'
In your code example you have the following:
I think if I've understood correctly that the comment should read 'The logger should only be enabled if we're not in production'