Differences between Let Var Const that you didn't know - ES6 [Video + Article] Tharun Shiv on May 27, 2020 In this post we will discuss the differences between the let, var and const along with code examples and their outputs Video: Consider sub... Read full post Submit Preview Dismiss Collapse Expand Michiel Hendriks Michiel Hendriks Michiel Hendriks Follow I shouldn't have written all of those tank programs. Location End of line! Education MSc Joined Mar 31, 2017 • May 27 '20 Dropdown menu Copy link Hide Unlike other languages const in JavaScript does not make the reference immutable. So, it's not really constant, merely final in its assignment. Collapse Expand Tharun Shiv Tharun Shiv Tharun Shiv Follow Site Reliability Engineer | Blogger | Podcasts | Youtube @ developertharun Email asktharun@gmail.com Location Bangalore Education Computer Science Engineering Work Site Reliability Engineer at PhonePe Joined May 3, 2020 • May 28 '20 Dropdown menu Copy link Hide Thank you for contributing 🙂 Collapse Expand venkat anirudh venkat anirudh venkat anirudh Follow Joined May 15, 2020 • May 28 '20 Dropdown menu Copy link Hide Ah I see, didn't know that. Thanks 👍 Collapse Expand Dimas Maulana Dwi Saputra Dimas Maulana Dwi Saputra Dimas Maulana Dwi Saputra Follow Joined Dec 14, 2019 • May 28 '20 Dropdown menu Copy link Hide Thanks for explaining! Collapse Expand Tharun Shiv Tharun Shiv Tharun Shiv Follow Site Reliability Engineer | Blogger | Podcasts | Youtube @ developertharun Email asktharun@gmail.com Location Bangalore Education Computer Science Engineering Work Site Reliability Engineer at PhonePe Joined May 3, 2020 • May 28 '20 Dropdown menu Copy link Hide Yes.. 🙂 Collapse Expand Harsh Pyati Harsh Pyati Harsh Pyati Follow Interested in all things related to Software development. Location Bengaluru Work Software Engineer Intern at Zscaler Joined Jul 12, 2019 • May 27 '20 Dropdown menu Copy link Hide The examples helped a lot in grasping the differences. Thanks for the article. Collapse Expand Tharun Shiv Tharun Shiv Tharun Shiv Follow Site Reliability Engineer | Blogger | Podcasts | Youtube @ developertharun Email asktharun@gmail.com Location Bangalore Education Computer Science Engineering Work Site Reliability Engineer at PhonePe Joined May 3, 2020 • May 28 '20 Dropdown menu Copy link Hide Thanks! 🙂 Collapse Expand Tharun Shiv Tharun Shiv Tharun Shiv Follow Site Reliability Engineer | Blogger | Podcasts | Youtube @ developertharun Email asktharun@gmail.com Location Bangalore Education Computer Science Engineering Work Site Reliability Engineer at PhonePe Joined May 3, 2020 • May 28 '20 Dropdown menu Copy link Hide Yeah, true that. Thanks for contributing 🙂 Collapse Expand Tharun Shiv Tharun Shiv Tharun Shiv Follow Site Reliability Engineer | Blogger | Podcasts | Youtube @ developertharun Email asktharun@gmail.com Location Bangalore Education Computer Science Engineering Work Site Reliability Engineer at PhonePe Joined May 3, 2020 • May 27 '20 Dropdown menu Copy link Hide Let me know if you liked the article and how I can improve in writing blogs. 😊 Thank you for reading. 🦄 Collapse Expand venkat anirudh venkat anirudh venkat anirudh Follow Joined May 15, 2020 • May 27 '20 Dropdown menu Copy link Hide The summary helps... good one.. keep it up! Collapse Expand Tharun Shiv Tharun Shiv Tharun Shiv Follow Site Reliability Engineer | Blogger | Podcasts | Youtube @ developertharun Email asktharun@gmail.com Location Bangalore Education Computer Science Engineering Work Site Reliability Engineer at PhonePe Joined May 3, 2020 • May 27 '20 Dropdown menu Copy link Hide Thank you Collapse Expand Jaya chandrika reddy Jaya chandrika reddy Jaya chandrika reddy Follow A programmer who tries to teach programming knowledge with fun Location Bengaluru Education B.E Work Software engineer at Commscope Joined May 4, 2020 • May 27 '20 Dropdown menu Copy link Hide Keep going! Collapse Expand Tharun Shiv Tharun Shiv Tharun Shiv Follow Site Reliability Engineer | Blogger | Podcasts | Youtube @ developertharun Email asktharun@gmail.com Location Bangalore Education Computer Science Engineering Work Site Reliability Engineer at PhonePe Joined May 3, 2020 • May 27 '20 Dropdown menu Copy link Hide Definitely! Thank you😊 Collapse Expand praveenreddy1798 praveenreddy1798 praveenreddy1798 Follow A programmer by need Location Bangalore Work Full stack developer Joined May 19, 2020 • May 27 '20 Dropdown menu Copy link Hide Good article.. 👍 Collapse Expand venkat anirudh venkat anirudh venkat anirudh Follow Joined May 15, 2020 • May 28 '20 Dropdown menu Copy link Hide Yep Code of Conduct • Report abuse
Unlike other languages
constin JavaScript does not make the reference immutable. So, it's not really constant, merely final in its assignment.Thank you for contributing 🙂
Ah I see, didn't know that. Thanks 👍
Thanks for explaining!
Yes.. 🙂
The examples helped a lot in grasping the differences. Thanks for the article.
Thanks! 🙂
Yeah, true that. Thanks for contributing 🙂
Let me know if you liked the article and how I can improve in writing blogs. 😊 Thank you for reading. 🦄
The summary helps... good one.. keep it up!
Thank you
Keep going!
Definitely! Thank you😊
Good article.. 👍
Yep