The console.warn()
method is used for printing warning messages to the console, and to the Log.txt file.
message
message
is a string parameter; this is the contents of the message to print.No value is returned.
> "Hello, world!"
Hello, world!
console.warn
. Only a subset of standard functionality is currently implemented.