console.warn() static method outputs a warning message to the console.
Note: This feature is available in Web Workers
Note: In Chrome and Firefox, warnings have a small exclamation point icon next to them in the console log.
warn(obj1) warn(obj1, /* …, */ objN) warn(msg) warn(msg, subst1, /* …, */ substN)
substNin consecutive order.
msg. This gives you additional control over the format of the output. See Using string substitutions for a description of how substitutions work.
|Console Standard |
BCD tables only load in the browser