Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

console.log

//return something in the console
console.log(string);

//return something in the console marked as an error
console.error(string);

//return something in the console marked as a warning
console.warn(string);

//return something in the console in a table
console.table([{json strings}];

//clear the console
console.clear();
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+1 =