Outputs a message with the “warn” log level.
warn(...values)
values variadic
The values to output.
If the first value is a string that contains format codes, it is used as a format string, and the remaining values are used as arguments for the format string. See console.log for the format string syntax.