Console Log - console.log()
and other console methods such as assert() and trace()
You need to press F12 to see console messages
The W3C tryit editor displays console information from the Tryit interface and therefore it is note easy to see what is going on. A much better way is to take the example from the W3C page and put it on one of my pages.
I have the examples from the W3C pages for
- How to display an array in the console.
- The trace() Method -
- The assert() - the example has a == comparison and an Array object - if true no console output