Why do you put console.log(const [variablename]) - Does that do anything that just console.log (variablename) doesn't?
I didn't know you could do that, so I'm glad you pointed it out!
You actually just pointed out an error lol I didn’t even notice I wrote that. Thank you so much for pointing it out. Only the variable name should be in the parentheses, not the type of variable too :)
I'm glad I asked lol I was going "Wow, learning all sorts of things today!"
Yess thank you! It's fixed and updated now lol :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Why do you put console.log(const [variablename]) - Does that do anything that just console.log (variablename) doesn't?
I didn't know you could do that, so I'm glad you pointed it out!
You actually just pointed out an error lol I didn’t even notice I wrote that. Thank you so much for pointing it out. Only the variable name should be in the parentheses, not the type of variable too :)
I'm glad I asked lol I was going "Wow, learning all sorts of things today!"
Yess thank you! It's fixed and updated now lol :)