Namespace console
Namespace for extension functions dealing with the console
Defined in: console.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
console.out(argument)
Displays a message on the local console (only).
|
<static> |
console.warn(argument)
Displays a warning message on the local console (only).
|
Method Detail
<static>
console.out(argument)
Displays a message on the local console (only).
console.out("Five="+5, "--- new line ---");
- Parameters:
- argument
- Any kind of argument can be given. If it is not a String, it is converted using the toString() member function.
- . . . Optional
- Any number of additional arguments. Each argument will appear in a new line.
<static>
console.warn(argument)
Displays a warning message on the local console (only).
(This is mainly meant for debugging purpose to highlight warning
messages.)
console.warn("WARNING: Five="+5, "--- new line ---");
- Parameters:
- argument
- Any kind of argument can be given. If it is not a String, it is converted using the toString() member function.
- . . . Optional
- Any number of additional arguments. Each argument will appear in a new line.