123k views
2 votes
What is the console.log function for?​

1 Answer

5 votes

Answer:

to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user

Step-by-step explanation:

User Eric Z Beard
by
4.2k points