جاوااسکریپت
مفاهیم زبان، closure، async و event loop.
۲۲ مطلب
JavaScript Closures: The #1 Interview Question
Master closures with real interview questions, code examples, and the mental model interviewers expect.
The JavaScript Event Loop Explained
Understand call stack, task queue, microtasks, and ace the classic async output questions.
Promises vs Async/Await: Interview Deep Dive
From Promise.all to error handling — everything you need for senior-level async interviews.
Prototypes & Inheritance in JavaScript
Prototype chain, class syntax, and the questions that separate mid from senior developers.
Hoisting, TDZ & Scope: Interview Essentials
var vs let vs const, temporal dead zone, and scope chain questions explained clearly.
setTimeout, setInterval & Timers Interview Q&A
Minimum delays, clearing timers, and how timers interact with the event loop.
Optional Chaining & Nullish Coalescing
Safely access nested properties and choose defaults without `||` bugs.
Set & Map: When and Why in Interviews
O(1) lookups, deduplication, and why Objects are not always the right key-value store.
Error Handling in JavaScript Interviews
try/catch/finally, custom errors, unhandled rejections, and defensive async patterns.
call, apply & bind: Interview Must-Knows
Explicitly set `this` and partially apply arguments — foundational for understanding JavaScript functions.
Array Methods: map, filter, reduce & Beyond
Chain transformations, explain complexity, and implement polyfills interviewers still ask for.
Deep Clone vs Shallow Copy: Interview Answers
Object.assign, spread, structuredClone, and JSON pitfalls — know what each actually copies.
Memoization Patterns for JavaScript Interviews
Cache expensive pure function results with closures, Map, and LRU strategies.
Proxy & Reflect: Advanced JavaScript Interviews
Intercept property access, validate objects, and implement reactive patterns like Vue 3's reactivity.
Generators & Iterators: Interview Questions
Yield values lazily, build custom iterables, and explain how `for...of` works under the hood.
WeakMap, WeakSet & Garbage Collection
Understand weak references, private metadata, and how the GC interacts with your data structures.
ES Modules vs CommonJS: Interview Deep Dive
import/export vs require/module.exports — know the differences for Node, bundlers, and tree-shaking interviews.
Debounce & Throttle: Classic Interview Implementations
Implement scroll, resize, and search-input handlers correctly — a practical question with real production impact.
Currying & Partial Application in JavaScript
Transform multi-argument functions into reusable pipelines — a favorite functional programming interview topic.
Type Coercion & Equality: Interview Traps
== vs ===, truthy/falsy values, and the weird outputs that separate prepared candidates from everyone else.
Destructuring, Spread & Rest: Interview Essentials
Unpack objects and arrays, clone data, and merge defaults — patterns that show up in every JS interview.
JavaScript `this` Binding: Interview Guide
Master implicit, explicit, and arrow-function `this` rules with classic output questions interviewers love.