There are no items in your cart
Add More
Add More
Item Details | Price |
---|
Master Javascript interview preparations with 120 top questions and detailed solutions.
Instructor: Richa Sinha
Language: English
Validity Period: Lifetime
Description:
This course offers a comprehensive collection of 120 Javascript interview questions to help you prepare for technical interviews. Each question is accompanied by detailed explanations and solutions to enhance your understanding of core Javascript concepts and improve your problem-solving skills.
Key Highlights:
What you will learn:
Core JavaScript | |||
What are the different data types in JavaScript? | |||
Explain how == and === differ. | |||
How does variable hoisting work? | |||
What are closures? Give an example use-case. | |||
Explain the concept of lexical scope. | |||
What is the Temporal Dead Zone (TDZ)? | |||
Explain the differences between var, let, and const. | |||
What is the difference between undefined and null? | |||
What is coercion in JavaScript? | |||
How does JavaScript handle type conversion internally? | |||
Functions and Execution Context | |||
How does the JavaScript execution context work? | |||
Explain call stack and event loop. | |||
What is a higher-order function? | |||
How does this behave in different contexts? | |||
What is the difference between arrow functions and regular functions? | |||
What are IIFEs and why are they used? | |||
Explain function currying with an example. | |||
How does partial application differ from currying? | |||
What is tail call optimization? | |||
How can you memoize a function? | |||
Asynchronous JavaScript | |||
What are Promises? How do they differ from callbacks? | |||
Explain async/await and its advantages. | |||
What is the event loop and how does it handle asynchronous code? | |||
What are microtasks and macrotasks? | |||
What are the different states of a Promise? | |||
How does JavaScript handle concurrency? | |||
How does Promise.all() differ from Promise.race()? | |||
What is a race condition and how do you prevent it? | |||
What are async iterators? | |||
How can you implement retry logic using async/await? | |||
Objects and Prototypes | |||
What is prototypal inheritance? | |||
How does the new keyword work in JavaScript? | |||
What is the difference between Object.create() and using a constructor function? | |||
What is a prototype chain? | |||
How can you deep clone an object in JavaScript? | |||
How do getters and setters work? | |||
What is the difference between in and hasOwnProperty? | |||
What is Object.freeze() and how is it different from Object.seal()? | |||
How does Object.assign() work? | |||
ES6+ Features | |||
What are template literals and tagged templates? | |||
Explain destructuring with examples. | |||
What are spread and rest operators? | |||
How do modules work in JavaScript? | |||
What are generators and how do they work? | |||
What is optional chaining and nullish coalescing? | |||
What is the difference between map, filter, and reduce? | |||
How do default parameters work in ES6? | |||
What are Sets and how are they different from Arrays? | |||
What is the difference between Map and Object? | |||
Memory Management and Performance | |||
How does garbage collection work in JavaScript? | |||
What causes memory leaks in JavaScript applications? | |||
How can you optimize performance in large-scale web applications? | |||
What is debouncing and throttling? | |||
What tools help analyze memory usage in a JavaScript app? | |||
How would you profile a slow-running JavaScript function? | |||
What is lazy loading and how is it implemented? | |||
How can you reduce the bundle size of a JS app? | |||
What are web vitals and why do they matter? | |||
How do service workers improve performance? | |||
DOM and Browser APIs | |||
How do event delegation and event bubbling work? | |||
What is the difference between DOMContentLoaded and load events? | |||
What are Web Workers and when would you use them? | |||
What is reflow and repaint? | |||
How do you manipulate the DOM efficiently? | |||
What is requestAnimationFrame and when would you use it? | |||
How do you handle drag and drop in JS? | |||
What is the MutationObserver API? | |||
How do you detect visibility changes in a webpage? | |||
Error Handling and Debugging | |||
How does try...catch work in async code? | |||
What are common debugging techniques in JavaScript? | |||
What are the different types of errors in JavaScript (e.g., ReferenceError, TypeError)? | |||
How do you handle global errors in JS? | |||
How can you log errors to an external service? | |||
What is the finally block used for? | |||
What is the role of the Error object? | |||
How can you use breakpoints effectively in DevTools? | |||
What is stack trace and how do you read it? | |||
What is the difference between syntax and runtime errors? | |||
Security | |||
What are common JavaScript security issues (e.g., XSS, CSRF)? | |||
How can you prevent XSS attacks in a JavaScript application? | |||
What is Content Security Policy (CSP)? | |||
How do cookies and localStorage differ from a security perspective? | |||
What are HttpOnly and Secure cookie flags? | |||
How can you sanitize user input in JavaScript? | |||
What is clickjacking and how can you prevent it? | |||
How do CORS policies affect JavaScript applications? | |||
What is the Same-Origin Policy? | |||
How can you prevent CSRF without using tokens? | |||
Design Patterns and Best Practices | |||
Explain the Module pattern. | |||
What is the Singleton pattern? | |||
How would you implement pub-sub in JavaScript? | |||
What is the Observer pattern? | |||
When would you use composition over inheritance? | |||
What is a factory function? | |||
What is dependency injection? | |||
How would you structure a large JavaScript codebase? | |||
What are some anti-patterns in JavaScript? | |||
How do you enforce immutability in JS? | |||
Practical Coding Questions | |||
Implement a function to flatten a nested array. | |||
Write a debounce function. | |||
Implement a throttling function. | |||
Create a deep clone function for an object. | |||
Implement a custom version of bind(). | |||
Write a function to check for deep equality of two objects. | |||
Implement a simple pub-sub pattern. | |||
Write a function to memoize any given function. | |||
Implement your own version of Promise.all(). | |||
Implement a simple event emitter class. | |||
Write a function to convert a string to camelCase. | |||
Create a custom map() function. | |||
Write a function to shuffle an array. | |||
Implement a function to check if a string is a palindrome. | |||
Write a function to get the unique values from an array. | |||
Implement a sleep function using Promises. | |||
Write a function that parses a query string into an object. | |||
Implement a function to reverse the words in a string. | |||
Create a simple curry function. | |||
Write a function that limits the number of simultaneous async operations. | |||
Write a function to group an array of objects by a key. |
After successful purchase, this item would be added to your courses.
You can access your courses in the following ways :