function warn() {
  if ((0, _mixed.isDefined)(console)) {
    var _console2;

    (_console2 = console).warn.apply(_console2, arguments);
  }
}
Logs warn to the console if the `console` object is exposed.

@param {...*} args Values which will be logged.