LOG
The LOG function will print a log trace in the browser console for debugging purposes.
Syntax
LOG(object1, [object2])
Examples
LOG('Hello world') prints the text Hello world
LOG('Total:', total) prints the text Total: and the value of the variable total.
Last updated