Using an array as the message:
Press F12 on your keyboard to the message in the console view.
View in separate window
<!DOCTYPE html> <html> <body> <script> var myArr = ["Orange", "Banana", "CSS", "HTML" ]; console.info(myArr); </script>//from ww w . j a v a2 s . c o m </body> </html>