- Source:
Methods
err()
Logs an error to the console. Prevents errors in browsers, that don't support this feature.
This function is not named error because that already might be misleading with the Error object and is not a verb.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
... |
* |
<optional> <repeatable> |
add any number of arguments you wish to log |
- Source:
Example
err('error yo!');
err(randomVar, 'string');
err(false);
err(true);