|
11 | 11 | - **[Basic JavaScript](#basic-javascript) 🌟**
|
12 | 12 | - **[Intermediate JavaScript](#intermediate-javascript) 🚀**
|
13 | 13 | - **[Advanced JavaScript](#advanced-javascript) 🔥**
|
14 |
| -- **[DOM and Web API](#dom-and-web-api) 🌐** |
15 | 14 | - **[ES6 and Modern JavaScript](#es6-and-modern-javascript) ⚡**
|
| 15 | +- **[DOM and Web API](#dom-and-web-api) 🌐** |
16 | 16 | - **[Testing and Debugging](#testing-and-debugging) 🛠️**
|
17 |
| -- **[Advanced Topics in JavaScript](#advanced-topics-in-javascript) 💡🏆** |
18 | 17 | - **[Frameworks and Libraries](#frameworks-and-libraries) 📚**
|
19 | 18 | - **[Package Managers and Build Tools](#package-managers-and-build-tools) 🧰**
|
20 | 19 | - **[Security and Best Practices](#security-and-best-practices) 🔐**
|
|
194 | 193 | 1. What is the DOM, and how do you manipulate it using JavaScript?
|
195 | 194 | 2. Explain the concept of event delegation.
|
196 | 195 | 3. What is a callback function, and why is it used in JavaScript?
|
197 |
| -4. What is the difference between "null" and "undefined" in JavaScript? |
198 |
| -5. Describe the purpose of "this" in JavaScript and how it is determined. |
199 |
| -6. How does prototypal inheritance work in JavaScript? |
200 |
| -7. What are promises in JavaScript, and how do they work? |
201 |
| -8. Explain what "async/await" is and how it works. |
202 |
| -9. How can you handle errors in JavaScript? |
203 |
| -10. What is the difference between "let," "const," and "var" when declaring variables. |
| 196 | +4. Describe the purpose of "this" in JavaScript and how it is determined. |
| 197 | +5. How does prototypal inheritance work in JavaScript? |
| 198 | +6. What are promises in JavaScript, and how do they work? |
| 199 | +7. Explain what "async/await" is and how it works. |
| 200 | +8. How can you handle errors in JavaScript? |
| 201 | +9. What is the difference between "let," "const," and "var" when declaring variables. |
| 202 | +10. What is the event loop in JavaScript, and how does it work? |
| 203 | +11. Explain the differences between "setTimeout" and "setInterval." |
| 204 | +12. How does the module system work in JavaScript (e.g., CommonJS, ES6 modules)? |
| 205 | +13. What is the difference between "map," "filter," and "reduce" in JavaScript? |
| 206 | +14. Explain the concept of "closures." |
| 207 | +15. What is memoization in JavaScript? |
| 208 | +16. How does the "spread" operator work in JavaScript? |
| 209 | +17. What are generators and how do they work? |
| 210 | +18. Describe the concept of functional programming in JavaScript. |
| 211 | +19. How can you avoid callback hell (Pyramid of Doom) in JavaScript? |
204 | 212 |
|
205 | 213 | ## Advanced JavaScript
|
206 | 214 |
|
207 |
| -1. What is the event loop in JavaScript, and how does it work? |
208 |
| -2. Explain the differences between "setTimeout" and "setInterval." |
209 |
| -3. How does the module system work in JavaScript (e.g., CommonJS, ES6 modules)? |
210 |
| -4. What is the difference between "map," "filter," and "reduce" in JavaScript? |
211 |
| -5. Explain the concept of "closures." |
212 |
| -6. What is memoization in JavaScript? |
213 |
| -7. How does the "spread" operator work in JavaScript? |
214 |
| -8. What are generators and how do they work? |
215 |
| -9. Describe the concept of functional programming in JavaScript. |
216 |
| -10. How can you avoid callback hell (Pyramid of Doom) in JavaScript? |
217 |
| - |
218 |
| -## DOM and Web API |
219 |
| - |
220 |
| -1. How do you create an element in the DOM using JavaScript? |
221 |
| -2. Explain the difference between "clientHeight," "offsetHeight," and "scrollHeight." |
222 |
| -3. How do you add an event listener to an element in the DOM? |
223 |
| -4. What is the purpose of the XMLHttpRequest object in JavaScript? |
224 |
| -5. How can you make an HTTP request in JavaScript using the Fetch API? |
225 |
| -6. What is CORS, and how do you handle it in JavaScript? |
226 |
| -7. Explain the difference between the "localStorage" and "sessionStorage" objects. |
227 |
| -8. How do you manipulate CSS properties in JavaScript? |
228 |
| -9. What is the "Event" object in JavaScript, and how is it used? |
229 |
| -10. Describe the difference between "target" and "currentTarget" in event handling. |
| 215 | +1. Describe the concept of memoization in JavaScript. |
| 216 | +2. What is functional programming, and how can it be applied in JavaScript? |
| 217 | +3. Explain how currying and composition work in functional programming. |
| 218 | +4. What are Web Workers, and how can they improve JavaScript performance? |
| 219 | +5. How does lazy loading of scripts enhance web page performance? |
| 220 | +6. What is the Event Loop and how does it work in JavaScript? |
| 221 | +7. Describe the purpose of Service Workers in web development. |
| 222 | +8. How can you achieve immutability in JavaScript objects and arrays? |
| 223 | +9. What are the differences between "call," "apply," and "bind" in JavaScript? |
| 224 | +10. Explain the concept of a pure function and its benefits. |
| 225 | +11. What are WebAssembly and its use cases in JavaScript applications? |
| 226 | +12. Explain the concept of BigInt and its purpose in JavaScript. |
| 227 | +13. What are decorators in JavaScript, and how can they be used? |
| 228 | +14. How does memoization improve the performance of recursive functions? |
| 229 | +15. What is the Event Emitters pattern, and how can it be used in JavaScript? |
| 230 | +16. Describe the purpose of the Proxy object and its use cases in JavaScript. |
| 231 | +17. How does the JavaScript runtime environment differ from the browser environment? |
| 232 | +18. What is the Event Loop in Node.js, and how does it differ from the browser's Event Loop? |
| 233 | +19. Explain the concept of microservices and their role in modern web development. |
| 234 | +20. What are Web Components, and how can they be used in JavaScript applications. |
230 | 235 |
|
231 | 236 | ## ES6 and Modern JavaScript
|
232 | 237 |
|
|
241 | 246 | 9. Describe the "Map" and "Set" data structures in ES6.
|
242 | 247 | 10. What is the "spread" operator in ES6, and how does it work.
|
243 | 248 |
|
| 249 | +## DOM and Web API |
| 250 | + |
| 251 | +1. How do you create an element in the DOM using JavaScript? |
| 252 | +2. Explain the difference between "clientHeight," "offsetHeight," and "scrollHeight." |
| 253 | +3. How do you add an event listener to an element in the DOM? |
| 254 | +4. What is the purpose of the XMLHttpRequest object in JavaScript? |
| 255 | +5. How can you make an HTTP request in JavaScript using the Fetch API? |
| 256 | +6. What is CORS, and how do you handle it in JavaScript? |
| 257 | +7. Explain the difference between the "localStorage" and "sessionStorage" objects. |
| 258 | +8. How do you manipulate CSS properties in JavaScript? |
| 259 | +9. What is the "Event" object in JavaScript, and how is it used? |
| 260 | +10. Describe the difference between "target" and "currentTarget" in event handling. |
| 261 | + |
244 | 262 | ## Testing and Debugging
|
245 | 263 |
|
246 | 264 | 1. What are unit tests, and how can you write them in JavaScript?
|
|
254 | 272 | 9. How do you use the "console.assert" method for debugging?
|
255 | 273 | 10. What is a stack trace, and how can it help in debugging JavaScript code.
|
256 | 274 |
|
257 |
| -## Advanced Topics in JavaScript |
258 |
| - |
259 |
| -1. Describe the concept of memoization in JavaScript. |
260 |
| -2. What is functional programming, and how can it be applied in JavaScript? |
261 |
| -3. Explain how currying and composition work in functional programming. |
262 |
| -4. What are Web Workers, and how can they improve JavaScript performance? |
263 |
| -5. How does lazy loading of scripts enhance web page performance? |
264 |
| -6. What is the Event Loop and how does it work in JavaScript? |
265 |
| -7. Describe the purpose of Service Workers in web development. |
266 |
| -8. How can you achieve immutability in JavaScript objects and arrays? |
267 |
| -9. What are the differences between "call," "apply," and "bind" in JavaScript? |
268 |
| -10. Explain the concept of a pure function and its benefits. |
269 |
| -11. What are WebAssembly and its use cases in JavaScript applications? |
270 |
| -12. Explain the concept of BigInt and its purpose in JavaScript. |
271 |
| -13. What are decorators in JavaScript, and how can they be used? |
272 |
| -14. How does memoization improve the performance of recursive functions? |
273 |
| -15. What is the Event Emitters pattern, and how can it be used in JavaScript? |
274 |
| -16. Describe the purpose of the Proxy object and its use cases in JavaScript. |
275 |
| -17. How does the JavaScript runtime environment differ from the browser environment? |
276 |
| -18. What is the Event Loop in Node.js, and how does it differ from the browser's Event Loop? |
277 |
| -19. Explain the concept of microservices and their role in modern web development. |
278 |
| -20. What are Web Components, and how can they be used in JavaScript applications. |
279 |
| - |
280 | 275 | ## Frameworks and Libraries
|
281 | 276 |
|
282 | 277 | 1. What is React, and how does it differ from other JavaScript libraries?
|
|
0 commit comments