JS

جاوااسکریپت

مفاهیم زبان، 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.

۱۱ خرداد ۱۴۰۴·۵ دقیقه مطالعه