FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Advanced-JavaScript-Guide/README.md at main · devmamunur/Advanced-JavaScript-Guide · GitHub
devmamunur
/
Advanced-JavaScript-Guide
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
7
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Advanced-JavaScript-Guide
/
README.md
Copy path
More file actions
More file actions
Latest commit
History
History
History
765 lines (530 loc) · 30.7 KB
Breadcrumbs
Advanced-JavaScript-Guide
/
README.md
Copy path
File metadata and controls
765 lines (530 loc) · 30.7 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions
Advanced JavaScript Guide
This repository is designed to enhance your JavaScript proficiency and prepare you effectively for job interviews.
Table of Contents
Basic JavaScript
🌟
Intermediate JavaScript
🚀
Advanced JavaScript
🔥
ES6 and Modern JavaScript
⚡
DOM and Web API
🌐
Testing and Debugging
🛠️
Package Managers and Build Tools
🧰
Security and Best Practices
🔐
Performance Optimization
🚀
APIs and Asynchronous Programming
🌐
JavaScript Patterns and Best Practices
🛠️
Beginner ReactJS
⚛️
Intermediate ReactJS
⚛️ 🚀
Advanced ReactJS
⚛️ 🔥
Basic JavaScript
1. What is JavaScript?
Answer
Articles
📜
What is JavaScript?
Videos
🎬
What is JavaScript?
2. How do you declare a variable in JavaScript?
Answer
Articles
📜
JavaScript Variables
Videos
🎬
How to Create Variables in JavaScript
3. Explain the difference between "null" and "undefined" in JavaScript.
Answer
Articles
📜
Undefined Vs Null in JavaScript
Videos
🎬
Null vs Undefined - Beau teaches JavaScript
4. What are the different data types in JavaScript?
Answer
Articles
📜
JavaScript data types and data structures
📜
JavaScript Data Types
Videos
🎬
Different Data Types in JavaScript
5. How do you check the data type of a variable?
Answer
Articles
📜
The typeof Operator
Videos
🎬
JavaScript for Beginners — Checking Variable Types
6. What is a closure in JavaScript?
Answer
Articles
📜
Closures
📜
Closure in JavaScript
📜
JavaScript Closures
Videos
🎬
Learn Closures In 7 Minutes
7. Explain the concept of hoisting in JavaScript.
Answer
Articles
📜
What is Hoisting in JavaScript?
📜
JavaScript Hoisting
📜
JavaScript Hoisting
Videos
🎬
Learn JavaScript Hoisting In 5 Minutes
8. What is the difference between "==" and "===" operators in JavaScript?
Answer
Articles
📜
How is == Different from === in JavaScript?
📜
Equality comparisons and sameness
Videos
🎬
== vs === in JavaScript | Which one is better? | Strict vs Loose Equality
🎬
JavaScript == VS ===
9. How do you comment in JavaScript?
Answer
Articles
📜
JavaScript Comments
Videos
🎬
JavaScript for Beginners — Code Comments
10. Explain the purpose of the "use strict" directive.
Answer
Articles
📜
Strict mode
📜
JavaScript Use Strict
Videos
🎬
Strict Mode — "use strict" - Beau teaches JavaScript
Intermediate JavaScript
1. What is the DOM, and how do you manipulate it using JavaScript?
Answer
Articles
📜
JavaScript HTML DOM
📜
Manipulating documents
📜
How to Manipulate the DOM - the Ultimate Beginner's Guide
Videos
🎬
JavaScript DOM Manipulation – Full Course for Beginners
🎬
Learn DOM Manipulation In 18 Minutes
2. Explain the concept of event delegation.
Answer
Articles
📜
Event Delegation in JavaScript –Explained with an Example
📜
What is Event Delegation in JavaScript?
📜
Event Delegation in JavaScript
Videos
🎬
Event Delegation in JavaScript, Simplified
🎬
What is Event Delegation?
🎬
Event Delegation in Javascript
3. What is a callback function, and why is it used in JavaScript?
Answer
Articles
📜
JavaScript Callbacks
📜
Callback function
📜
JavaScript Callback Functions – What are Callbacks in JS and How to Use Them
Videos
🎬
JavaScript Callbacks Explained in 5 Minutes
🎬
Callback Functions in JS ft. Event Listeners
🎬
WHAT IS A CALLBACK FUNCTION IN JAVASCRIPT? - Explained with Callback Examples
4. Describe the purpose of "this" in JavaScript and how it is determined.
Answer
Articles
📜
This
📜
The JavaScript this Keyword
📜
A super-easy way to determine 'this' in JavaScript
Videos
🎬
JavaScript this Keyword
🎬
What is this? | JavaScript
5. How does prototypal inheritance work in JavaScript?
Answer
Articles
📜
Inheritance and the prototype chain
📜
JavaScript Prototypes and Inheritance
📜
Prototypal Inheritance using
proto
in JavaScript
Videos
🎬
Prototype and Prototypal Inheritance in Javascript
🎬
JavaScript Prototypal inheritance
6. What are promises in JavaScript, and how do they work?
Answer
Articles
📜
JavaScript Promise
📜
JavaScript Promises
📜
How Promises Work in JavaScript
Videos
🎬
JavaScript Promises -- Tutorial for Beginners
🎬
Promises
7. Explain what "async/await" is and how it works.
Answer
Articles
📜
Async/Await Function in JavaScript
📜
Async/await
📜
How to Use Async/Await in JavaScript with Example JS Code
Videos
🎬
Async Await vs. Promises - JavaScript Tutorial for beginners
🎬
async await
8. How can you handle errors in JavaScript?
Answer
Articles
📜
JavaScript Errors
📜
Error handling, "try...catch"
Videos
🎬
try, catch, finally, throw - error handling in JavaScript
🎬
The EASY Way to Handle Errors in JavaScript (For Beginners)
9. What is the difference between "let," "const," and "var" when declaring variables.
Answer
Articles
📜
var, let, and const in JavaScript – the Differences Between These Keywords Explained
📜
Difference between var, let and const keywords in JavaScript
Videos
🎬
JavaScript Let vs Var vs Constant
🎬
let & const in JS 🔥Temporal Dead Zone
🎬
Differences Between Var, Let, and Const
10. Explain the differences between "setTimeout" and "setInterval."
Answer
Articles
📜
JavaScript Timing Events
📜
JavaScript Timing Events: setTimeout and setInterval
Videos
🎬
setTimeout() and setInterval() – JavaScript Tutorial
🎬
How to use setTimeout() and setInterval()
11. How does the module system work in JavaScript (e.g., CommonJS, ES6 modules)?
Answer
Articles
📜
Modules in JavaScript – CommonJS and ESmodules Explained
📜
Difference between node.js require and ES6 import and export
Videos
🎬
Require vs Import Javascript
🎬
JavaScript Modules: From IIFEs to CommonJS to ES6 Modules
12. What is the difference between "map," "filter," and "reduce" in JavaScript?
Answer
Articles
📜
JavaScript Map, Reduce, and Filter
📜
How to use map(), filter(), and reduce() in JavaScript ?
Videos
🎬
map, filter & reduce
🎬
map, filter, reduce, some, every, find, findIndex, forEach
🎬
Map, Filter & Reduce EXPLAINED
13. Explain the concept of "closures."
Answer
Articles
📜
Closures
📜
JavaScript Closures
📜
Closure in JavaScript – Explained with Examples
Videos
🎬
JavaScript Closures Tutorial
🎬
Closures in JS
🎬
Closures Explained in 100 Seconds
14. How does the "spread" operator work in JavaScript?
Answer
Articles
📜
Spread syntax (...)
📜
React ES6 Spread Operator
📜
JavaScript Spread Operator
Videos
🎬
JS Spread Operator: How It Works & Why I Love It
🎬
...spread operator and rest operator
🎬
Spread Syntax | ...args | JavaScript
15. What are generators and how do they work?
Answer
Articles
📜
Generator
📜
JavaScript Visualized: Generators and Iterators
📜
Yield! Yield! How Generators work in JavaScript.
Videos
🎬
Learn JavaScript Generators In 12 Minutes
🎬
The Power of JS Generators by Anjana Vakil
16. How can you avoid callback hell (Pyramid of Doom) in JavaScript?
Answer
Articles
📜
How to deal with nested callbacks and avoid “callback hell”
📜
Callback Hell and How to Rescue it ?
Videos
🎬
Callback Hell
🎬
Javascript Nuggets - Callback Hell
Advanced JavaScript
1. Describe the concept of memoization in JavaScript.
Answer
Articles
📜
What is Memoization? How and When to Memoize in JavaScript and React
📜
JavaScript Memoization
📜
Memoization in Javascript
Videos
🎬
Memoization and How to Memoize | Javascript Memoization Tutorial
🎬
Memoization And Dynamic Programming Explained
2. What is functional programming, and how can it be applied in JavaScript?
Answer
Articles
📜
What is Functional Programming? A Beginner's JavaScript Guide
📜
JIntroduction to Functional Programming: JavaScript Paradigms
Videos
🎬
Learning Functional Programming with JavaScript - Anjana Vakil - JSUnconf
🎬
Learn Functional Programming With JavaScript | FREE COURSE
3. Explain how currying and composition work in functional programming.
Answer
Articles
📜
How to Use Currying and Composition in JavaScript
📜
Real world example of compose function and currying.
Videos
🎬
Function Composition - Functional JavaScript
4. What are Web Workers, and how can they improve JavaScript performance?
Answer
Articles
📜
Improve Web Performance With Web Workers
📜
Power of Web Workers – Multithreading in JavaScript
Videos
🎬
Web Workers in Action
🎬
Mastering Web Workers
🎬
JavaScript Web Workers Explained
How does lazy loading of scripts enhance web page performance?
What is the Event Loop and how does it work in JavaScript?
Describe the purpose of Service Workers in web development.
How can you achieve immutability in JavaScript objects and arrays?
What are the differences between "call," "apply," and "bind" in JavaScript?
Explain the concept of a pure function and its benefits.
What are WebAssembly and its use cases in JavaScript applications?
Explain the concept of BigInt and its purpose in JavaScript.
What are decorators in JavaScript, and how can they be used?
How does memoization improve the performance of recursive functions?
What is the Event Emitters pattern, and how can it be used in JavaScript?
Describe the purpose of the Proxy object and its use cases in JavaScript.
How does the JavaScript runtime environment differ from the browser environment?
What is the Event Loop in Node.js, and how does it differ from the browser's Event Loop?
Explain the concept of microservices and their role in modern web development.
What are Web Components, and how can they be used in JavaScript applications.
ES6 and Modern JavaScript
What are arrow functions in ES6, and how do they differ from regular functions?
Explain the concept of template literals in ES6.
What are destructuring assignments in ES6?
How does the "class" keyword work in ES6 for object-oriented programming?
What are "promises" in ES6, and how do they differ from callbacks?
Explain the use of the "async/await" feature in ES6.
What is the purpose of the "let" and "const" keywords in ES6?
How can you import and export modules in ES6?
Describe the "Map" and "Set" data structures in ES6.
What is the "spread" operator in ES6, and how does it work.
DOM and Web API
How do you create an element in the DOM using JavaScript?
Explain the difference between "clientHeight," "offsetHeight," and "scrollHeight."
How do you add an event listener to an element in the DOM?
What is the purpose of the XMLHttpRequest object in JavaScript?
How can you make an HTTP request in JavaScript using the Fetch API?
What is CORS, and how do you handle it in JavaScript?
Explain the difference between the "localStorage" and "sessionStorage" objects.
How do you manipulate CSS properties in JavaScript?
What is the "Event" object in JavaScript, and how is it used?
Describe the difference between "target" and "currentTarget" in event handling.
Testing and Debugging
What are unit tests, and how can you write them in JavaScript?
Explain the purpose of a test runner in JavaScript testing.
How can you use the "debugger" statement in JavaScript for debugging?
Describe the concept of "console.log" and its usage in debugging.
What is a breakpoint, and how do you set one in a browser's developer tools?
How can you handle runtime errors in JavaScript code?
Explain the purpose of "try-catch" blocks in error handling.
What is linting in JavaScript, and why is it important?
How do you use the "console.assert" method for debugging?
What is a stack trace, and how can it help in debugging JavaScript code.
Package Managers and Build Tools
What is npm, and how do you use it in JavaScript development?
Describe the purpose of package.json in a Node.js project.
What is Yarn, and how does it differ from npm?
How do you install and manage third-party libraries using npm or Yarn?
Explain the role of Webpack in JavaScript development.
What are Babel and its role in transpiling JavaScript code?
How does ESLint help maintain code quality in a JavaScript project?
Describe the purpose of Git and version control in JavaScript development.
What is Continuous Integration (CI) and how can it be used in JavaScript projects?
How can you automate tasks in a JavaScript project using tools like Grunt or Gulp.
Security and Best Practices
What is Cross-Site Scripting (XSS), and how can you prevent it in JavaScript?
Explain Cross-Origin Resource Sharing (CORS) and its security implications.
How can you protect against SQL injection in JavaScript?
Describe the importance of input validation in web applications.
What are Content Security Policy (CSP) headers and how do they enhance security?
How can you securely store sensitive information in a JavaScript application?
Explain the concept of HTTPS and its importance in web security.
Performance Optimization
What is the purpose of code splitting, and how can it improve page load times?
Explain the benefits of lazy loading and how it's implemented in JavaScript applications.
What is the critical rendering path, and how can you optimize it for better performance?
Describe the importance of minification and compression in optimizing JavaScript code.
How does browser caching work, and what are its advantages in web performance?
What are the best practices for reducing the number of HTTP requests in a web page?
Explain how the "defer" and "async" attributes in script tags affect page loading.
How can you profile and optimize JavaScript code using browser developer tools?
Describe the concept of "Render-Blocking JavaScript" and how to minimize it.
What are the benefits of using a Content Delivery Network (CDN) for serving JavaScript libraries?
APIs and Asynchronous Programming
Explain the purpose of the Fetch API for making HTTP requests in JavaScript.
How do you handle CORS-related issues when making cross-origin requests?
What is the difference between "GET" and "POST" HTTP methods, and when would you use each?
Describe the concept of RESTful APIs and their common conventions.
How can you use the "async" and "await" keywords with the Fetch API for asynchronous operations?
Explain the purpose of the "XMLHttpRequest" object and its alternatives.
What is JSON, and how do you parse and stringify JSON data in JavaScript?
How can you work with asynchronous code using Promises and the "then" method?
What are WebSockets, and how can they be used for real-time communication in JavaScript?
Explain the concept of callback hell and how to avoid it in asynchronous code.
Describe the purpose of the "axios" library for making HTTP requests in JavaScript.
JavaScript Patterns and Best Practices
What is the Module Pattern, and how does it help organize code in JavaScript?
Explain the Singleton Pattern and its use in JavaScript applications.
How does the Observer Pattern work in JavaScript, and when is it useful?
What is the Revealing Module Pattern, and how does it differ from the Module Pattern?
Describe the benefits of using the Prototype Pattern in JavaScript.
How can you implement the Factory Pattern in JavaScript?
What is the Constructor Pattern, and how is it used to create objects?
Explain the MVC (Model-View-Controller) pattern and its application in JavaScript frameworks.
Describe the MVVM (Model-View-ViewModel) pattern and its role in frameworks like Knockout.js.
How do you implement the Flux architecture in JavaScript applications, and what libraries are associated with it.
Beginner ReactJS
How does React use the virtual DOM to make things faster?
What are React Hooks, and why are they useful?
Can you explain the difference between controlled and uncontrolled components in React?
What is JSX in React, and how is it different from regular HTML? Can you provide an example?
How does the useEffect hook help in React? Can you give an example?
Why is the key attribute important when working with lists in React?
What is the purpose of the setState method in React, and why is it used?
Explain the concept of props in React and how they differ from state.
How does conditional rendering work in React, and can you provide an example?
What is the significance of the render method in a React component?
How do you handle forms in React, and what is the role of controlled components?
What is the purpose of the React.Fragment in React?
Intermediate ReactJS
Can you explain Higher Order Components (HOC) in React in simple terms?
What is Redux, and how does it work with React?
Explain the Flux architecture briefly and its connection to React.
When should you use Redux instead of local state management in React?
How is React Context different from Redux for state management?
What is the shouldComponentUpdate method in React, and why is it important for performance?
What are useMemo and useCallback hooks in React, and when do you use each?
Can you give an example of code splitting in React? Why is it useful?
What is server-side rendering (SSR) in React, and why might you use it?
How does the dangerouslySetInnerHTML attribute work in React?
What are portals in React, and when might you use them?
How does lazy loading improve React app performance?
How do you prevent unnecessary re-renders in React?
Explain the difference between state and context in React.
How does event handling differ in React compared to traditional HTML?
Explain the concept of "lifting state up" in React and when it is beneficial.
What is the significance of the this keyword in class components in React?
How does error handling work in React applications?
What are React refs, and how are they used in React components?
How does the componentDidMount lifecycle method differ from useEffect in functional components?
Advanced ReactJS
How can a child component communicate with a parent in React?
How do you pass data from one React component to another?
What is the difference between real DOM and virtual DOM in React?
How can you make React re-render only a specific component without the entire browser?
What distinguishes stateful and stateless components in React?
How do you send data from a parent component to a child component in React?
Why did React move away from class-based components?
What is the useEffect hook, and why is it useful in React?
Explain lazy routing in React with a simple example.
Why use className instead of class in React for styling?
What is an error boundary in React, and why is it helpful?
How does Axios differ from Fetch in React, and when would you use each?
What are the limitations of React.js?
Differences between local storage and session storage in React, and how do you use them?
Why is React so popular?
What is JSX, and how does it make React development easier?
How do useMemo and useCallback differ in React, and when do you use each?
Differences between useState and useReducer in React and their use cases.
Explain the purpose of React.createRef in React and when it's preferable.
What does the memo function do in React, and when would you use it?
What is the role of the useLayoutEffect hook in React, and when is it used?
Differences between shallow rendering and full rendering in React testing.
What is the role of the children prop in React components?
How does React handle routing in Single Page Applications (SPAs)?
What does the dangerouslySetInnerHTML prop do in React?
When and why would you use React.PureComponent in React?
Explain automatic batching in React and how it improves performance.
What is an error boundary in React, and why is it helpful?
Differences between useState and useReducer in React and their use cases.
What is suspense in the server in React, and how does it contribute to improving user experience in asynchronous operations?
What is reconciliation in React, and how does it play a crucial role in updating the DOM efficiently?
Differences between Higher Order Components and React Hooks.
Differences between functional components and class-based components and why functional components are needed.
Back
|
FazBrowse Home
|
New Git URL