old_contents: import noOp from './noOp';
  
  const globalConsole = global.console,
      console = {},
      PREFIXES = {
          log  : '',
          info : '',
          warn : 'Warning!',
          error : 'Error!'
      };
  
  ['log', 'info', 'warn', 'error'].forEach(function(name) {
      console[name] = globalConsole?
          globalConsole[name]?
              function(arg1, arg2, arg3, arg4, arg5) { // IE9: console methods aren't functions
                  const arg0 = PREFIXES[name];
                  switch(arguments.length) {
                      case 1:
                          globalConsole[name](arg0, arg1);
                      break;
  
                      case 2:
                          globalConsole[name](arg0, arg1, arg2);
                      break;
  
                      case 3:
                          globalConsole[name](arg0, arg1, arg2, arg3);
                      break;
  
                      case 4:
                          globalConsole[name](arg0, arg1, arg2, arg3, arg4);
                      break;
  
                      case 5:
                          globalConsole[name](arg0, arg1, arg2, arg3, arg4, arg5);
                      break;
                  }
              } :
              function() {
                  globalConsole.log.apply(globalConsole, arguments);
              } :
          noOp;
  });
  
  export default console;
  
new_contents: import noOp from './noOp';
  
  const globalConsole = global.console,
      console = {},
      PREFIXES = {
          log : '',
          info : '',
          warn : 'Warning!',
          error : 'Error!'
      };
  
  ['log', 'info', 'warn', 'error'].forEach(function(name) {
      console[name] = globalConsole?
          globalConsole[name]?
              function(arg1, arg2, arg3, arg4, arg5) { // IE9: console methods aren't functions
                  const arg0 = PREFIXES[name];
                  switch(arguments.length) {
                      case 1:
                          globalConsole[name](arg0, arg1);
                      break;
  
                      case 2:
                          globalConsole[name](arg0, arg1, arg2);
                      break;
  
                      case 3:
                          globalConsole[name](arg0, arg1, arg2, arg3);
                      break;
  
                      case 4:
                          globalConsole[name](arg0, arg1, arg2, arg3, arg4);
                      break;
  
                      case 5:
                          globalConsole[name](arg0, arg1, arg2, arg3, arg4, arg5);
                      break;
                  }
              } :
              function() {
                  globalConsole.log.apply(globalConsole, arguments);
              } :
          noOp;
  });
  
  export default console;
  
subject: fix codestyle