0% found this document useful (0 votes)
3 views1 page

WD Questions

The document outlines key concepts in JavaScript, including the differences between var, let, and const, as well as various data types. It explains functions, closures, the 'this' keyword, event listeners, and the distinctions between null and undefined. Additionally, it covers callbacks, setTimeout() and setInterval() functions, and the creation and access of objects.

Uploaded by

ranjanarao25
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

WD Questions

The document outlines key concepts in JavaScript, including the differences between var, let, and const, as well as various data types. It explains functions, closures, the 'this' keyword, event listeners, and the distinctions between null and undefined. Additionally, it covers callbacks, setTimeout() and setInterval() functions, and the creation and access of objects.

Uploaded by

ranjanarao25
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

 What is the difference between var, let, and const in JavaScript?

 What are JavaScript data types? Name and describe at least five of them.

 What is the purpose of a JavaScript function? How do you declare a function in JavaScript?

 What are JavaScript closures, and how do they work? Provide an example.

 What is the difference between == and === in JavaScript?

 Explain how this keyword works in JavaScript. Provide an example of its use in a method.

 What is an event listener in JavaScript, and how is it used?

 What is the difference between null and undefined in JavaScript?

 What are JavaScript callbacks, and how do they function in asynchronous programming?

 What is the purpose of the setTimeout() and setInterval() functions in JavaScript?

 What is an object in JavaScript? How can you create an object and access its properties?

You might also like