codemarch
codemarch

@codemarch

7 Tweets 2 reads Sep 03, 2022
Learn JavaScript console.log()
The Complete Guide:
Thread 🧵
The `log()` method writes (logs) a message to the console.
The `log()` method is useful for testing purposes.
The `console.log()` method is used to write messages to these consoles.
➡️console.log()
Syntax -
Here, the "message"
 refers to either a variable or a value.
Example -
Example 1: Print a Sentence
Example 2: Print Values Stored in Variables
If you enjoyed reading this thread, please do the following:
1. Like the thread❤️
2. Retweet the first tweet.🔃
3. Follow me and enable notifications: ✅
@CodeMarch
Thank you for reading all the way through.
Download our free JavaScript Resources ebook Here:
codemarch.gumroad.com

Loading suggestions...