0

Used for printing messages or debugging information to the browser console.

console.log("testing script");

Output:

Use of console.log(): in JavaScript?
Working Code Asked question July 20, 2023