console.log
Is a function in JavaScript used to display data in the console. It's commonly used for debugging purposes or to output information while developing JavaScript applications. It can print strings, variables, objects, and other data types to the console.
for example:-
console.log("Hello Friends✋");
console.log('Hello Friends✋');
console.log(`Hello Friends✋`);
In JavaScript, strings can be enclosed in double quotes ("), single quotes ('), or backticks (` `). All three of these formats can be used with console.log() to print strings to the console.