adspace


Explain the difference between const and let in node js?

Answer Posted / Deep Shikha Singh

In Node.js, both 'const' and 'let' are used to declare variables but they have different behaviors. 'const' declares a constant variable which cannot be reassigned, while 'let' can be reassigned.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is node js losing popularity?

590


How we can read a file in node js?

571