docs: function getDefaultConsole() {
    if (console && typeof console.log === 'function') {
      return console.log;
    } else {
      return function() {
        // Console isn't available until dev tools is open in old IE, so keep checking
        if (console && typeof console.log === 'function') {
          console.log.apply(console, arguments);
        }
      };
    }
  }