Namespace: Logging:warn

Logging:warn

Source:

Methods

warn()

Logs a warning to the console. Prevents errors in browsers, that don't support this feature.

Parameters:
Name Type Attributes Description
... * <optional>
<repeatable>

add any number of arguments you wish to log

Source:
Example
warn('warning yo!');
warn(randomVar, 'string');
warn(false);
warn(true);