Can't understand Booleans and console.log


#1

Can someone explain me booleans and console.log....


#2

Booleans (Boo - lee - ans) are either (True / False) or something that evaluates to True or False. Console.log is how you output information to the console in JavaScript. Examples:

boolean1 = 5 > 1; // This would be True

console.log("Hello there!"); // Would output (Hello There) to the console.