I dont know when to use console.log at the end of the page and when to call the function itself. Sometimes they ask for console.log and sometimes they just call the function . When do we use what ? Thank you !
console.log() logs something to the console
the function call executes a function,
console.log() is also a function call to a built in function.
When to use what? Depends on your program
thanks so much , made it so much easier to understand !
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.