Explain the difference between const and let in node js?



Explain the difference between const and let in node js?..

Answer / 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

More Node.js Interview Questions

Explain 'buffer class' in node.js?

1 Answers  


Explain what is npm?

1 Answers  


Explain v8 engine?

1 Answers  


How Many Types Of Streams Are Present In Node?

1 Answers  


Name some of the attributes of package.json?

1 Answers  


What is Tracing in Node.js?

1 Answers  


Can we build a REST service in Node.js?

1 Answers  


What is connect in node.js?

1 Answers  


How node.js and javascript are related?

1 Answers  


Are you sure node.js execute system command synchronously?

1 Answers  


How to create a self-signed certificate in Node.js?

1 Answers  


What are streams? List types of streams available in node js?

1 Answers  


Categories