print stuff in console javascript 1

print stuff in console javascript

console.log("string")

Here is what the above code is Doing:
1. We’re creating a variable called “name” and assigning it the value of “John”.
2. We’re creating a variable called “age” and assigning it the value of “21”.
3. We’re creating a variable called “isCool” and assigning it the value of “true”.
4. We’re creating a variable called “friends” and assigning it the value of “5”.
5. We’re creating a variable called “hair” and assigning it the value of “null”.
6. We’re creating a variable called “car” and assigning it the value of “undefined”.
7. We’re creating a variable called “computer” and assigning it the value of “string”.

Similar Posts