Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How does the console.log method output content?
How does the console.log method output content?
In normal mode, you can only output simple text information to the console. However, in order to make the information output more elegant and readable, besides the cosole.log () method, you can also call cosole.warn () to output warning information. The effect in the console is as follows: there will be a yellow triangle alarm with exclamation mark in front of the output information.