Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js console

console.log("Text"); //Shows some text in the console.
console.warn("Warning!"); //Displays a Warning in the console
console.error("Error!"); //Displays an Error in the console.

//Example (On Value Displays)
var Value = 69;
console.log(Value); //Displays '69' in the console.
console.log("The Value Is " + Value + "!"); //Displays 'The Value Is 69!' in the console.
Source by replit.com #
 
PREVIOUS NEXT
Tagged: #js #console
ADD COMMENT
Topic
Name
6+8 =