js-notes-pravar
v1.0.1
Published
Extensive Js Notes
Maintainers
Readme
📘 JavaScript & TypeScript Interview Notes
A compact, high-value collection of advanced JS + TS concepts
This package provides extensive, cleanly summarized notes covering the most important JavaScript and TypeScript concepts asked in real interviews. It includes core fundamentals, advanced internals, and practical patterns — all written for quick revision and deep understanding.
Perfect for front-end, backend, and full-stack engineers preparing for interviews or sharpening their fundamentals.
⸻
🚀 Installation
npm install my-study-notes-pravar
⸻
📦 What’s Inside
✔ 1. Extensive JavaScript Notes (summary-style)
A single notes.md file containing: • Promises, async/await, Promise combinators • Currying, retry logic, promisify • Prototypes, inheritance, classes • Debounce & throttle • Event bubbling, capturing, delegation • Array & object methods + ES6 features • Error handling, types, coercion • Deep vs shallow copy, structuredClone • Memory leaks & garbage collection • Browser vs Node.js event loop • Execution context, lexical environments • Environment records and scope chain • Symbols, iterators, well-known symbols • Promise internals (reactions, microtasks) • WeakRef, FinalizationRegistry • Global error handlers (browser + Node)
✔ 2. TypeScript Essentials • Structural typing • Type inference & narrowing • Generics (practical use cases) • Utility types: Partial, Required, Pick, Omit • Conditional types • ReturnType, InstanceType • Discriminated unions
✔ 3. JavaScript Code Examples (javascript/ folder)
Includes runnable examples of important concepts:
javascript/promises.js javascript/async-await.js javascript/event-loop.js javascript/debounce-throttle.js javascript/prototypes.js javascript/classes.js javascript/polyfills.js javascript/memory-leaks.js javascript/typescript-generics.ts
These files help you practice concepts directly.
⸻
🎯 Why This Package is Useful • Interview-ready: Only includes topics that matter for interviews. • Quick revision: No long paragraphs — clear, concise, high-value summaries. • Advanced internals covered: Execution context, microtasks, Promise internals, GC — rarely documented in one place. • Hands-on practice: Code examples for all important patterns. • Beginner-friendly but interview-level: Good for revision, learning, or teaching.
⸻
📥 How to Use
- Read the notes directly
Open:
node_modules/my-study-notes-pravar/notes.md
Use any Markdown viewer (VS Code, GitHub preview, etc.).
⸻
- Run the code examples
Open any file inside the javascript/ folder and run it:
node javascript/event-loop.js
Modify, experiment, and observe how the JS engine behaves.
⸻
- Use As an Interview Prep Companion
This package works well for: • Quick revision before interviews • Daily learning sessions • Creating your own extended notes • Bookmarking complex topics like event loop, Promise internals, GC
⸻
📂 File Structure
my-study-notes-pravar/ │ ├── notes.md ├── README.md └── js/ ├── promises.js ├── async-await.js ├── currying.js ├── event-loop.js ├── debounce-throttle.js ├── prototypes.js ├── classes.js ├── polyfills.js ├── memory-leaks.js └── typescript-generics.ts
⸻
🤝 Contributing
Feel free to fork and extend your own study notes.
⸻
📄 License
MIT License.
⸻
