+ 2

Let Const Var

How would we know that when to choose a a certain word like from above to store,declare and initialize a vaiable in JavaScript 🤕😞🤔 plz answer me 😕

8th Jun 2024, 12:58 AM
Zoha
Zoha - avatar
5 Answers
+ 8
var and let create variables that can be reassigned another value. const creates "constant" variables that cannot be reassigned another value. learn all about it here: https://www.freecodecamp.org/news/differences-between-var-let-const-javascript/
8th Jun 2024, 1:41 AM
Chris Coder
Chris Coder - avatar
+ 3
Chris Coder Thank you
8th Jun 2024, 2:49 AM
Zoha
Zoha - avatar
+ 3
Individual👤 You're welcome
8th Jun 2024, 8:26 AM
Chris Coder
Chris Coder - avatar
0
What? If English isn’t your native language, I think you should probably type it in your native language and then I’ll try machine translating it. What you said doesn’t seem to make any sense.
8th Jun 2024, 1:05 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
0
بس اس بات کی تصدیق کی مَیں نے انگریزی زبان میں ترجمہ کِیا ۔ اس مشین ترجمہ کی خوبی کیسے ہے ؟ کیا آپ سمجھتے ہیں کہ یہ آپ کے پروگرامنگ سوال کا جواب دینے کے لئے کام کر سکتے ہیں؟?
8th Jun 2024, 1:11 AM
Wilbur Jaywright
Wilbur Jaywright - avatar