Mert Özen Further With Every Line

Blog

Mert Özen's blog posts on software development, backend, frontend, and DevOps.

Series
56 posts found #javascript
JavaScript Iterators and Generators: Symbol.iterator, yield and Iterator Helpers
Frontend PART 06

JavaScript Iterators and Generators: Symbol.iterator, yield and Iterator Helpers

We cover the iterable and iterator protocols, writing your own iterable with Symbol.iterator, how generators and yield pause and resume, infinite sequences, ES2025 iterator helpers and ES2026's Iterator.concat.

3 Nov 2026 8 min 27
Advanced JavaScript Async Patterns: The Promise.all Family, Cancellation, Retry and Timeouts
Frontend PART 05

Advanced JavaScript Async Patterns: The Promise.all Family, Cancellation, Retry and Timeouts

We look at the differences between Promise.all, allSettled, any and race, ES2024's Promise.withResolvers, ES2025's Promise.try, supporting AbortSignal in your own functions, retry, timeouts and concurrency limits.

3 Nov 2026 9 min 27
The JavaScript Event Loop in Depth: Tasks, Microtasks and Rendering Order
Frontend PART 04

The JavaScript Event Loop in Depth: Tasks, Microtasks and Rendering Order

We work through output-order puzzles to see the task and microtask queues, where promises and queueMicrotask fit, when requestAnimationFrame runs in the rendering step, and why long tasks freeze the page.

3 Nov 2026 9 min 28
JavaScript OOP Patterns: Inheritance or Composition? Factory Functions and Mixins
Frontend PART 03

JavaScript OOP Patterns: Inheritance or Composition? Factory Functions and Mixins

We talk about the cost of inheritance, combining behavior with composition, factory functions and mixins, choosing between closures and #private, the SOLID principles that fit JavaScript, and when a class is worth writing.

3 Nov 2026 9 min 26
JavaScript Object Protection and Immutability: Property Descriptors, seal and freeze
Frontend PART 02

JavaScript Object Protection and Immutability: Property Descriptors, seal and freeze

We look at property descriptors, the sneaky defaults of Object.defineProperty, the difference between preventExtensions, seal and freeze, shallow versus deep freezing, and patterns for updating objects without mutating them.

3 Nov 2026 8 min 23
The JavaScript Prototype Chain: How Objects Inherit from Each Other
Frontend PART 01

The JavaScript Prototype Chain: How Objects Inherit from Each Other

We untangle the [[Prototype]] link, property lookup along the chain, __proto__ versus Object.getPrototypeOf, constructor functions, Object.create and the prototype machinery underneath class, step by step in the console.

3 Nov 2026 9 min 29
Advanced Date Handling in JavaScript: Time Zones, UTC and Formatting with Intl
Frontend PART 18

Advanced Date Handling in JavaScript: Time Zones, UTC and Formatting with Intl

We see that Date holds a single moment, then cover UTC and ISO 8601 rules, Intl.DateTimeFormat options, "3 days ago" with Intl.RelativeTimeFormat, the daylight saving trap and a first look at Temporal.

3 Nov 2026 10 min 21
JavaScript Modules in the Browser: import, export, Dynamic import() and Import Maps
Frontend PART 17

JavaScript Modules in the Browser: import, export, Dynamic import() and Import Maps

We write a first module with type="module", see why file:// fails, and learn named and default exports, live bindings, dynamic import(), import maps and ES2025's JSON modules with import attributes.

3 Nov 2026 8 min 21
JavaScript URL, URLSearchParams and the History API: Managing the Address Without a Reload
Frontend PART 16

JavaScript URL, URLSearchParams and the History API: Managing the Address Without a Reload

We take addresses apart with URL and URLSearchParams, look at the hash, compare pushState and replaceState, learn when popstate fires, and write a small framework-free SPA router.

3 Nov 2026 9 min 27
JavaScript Web Storage and Cookies: localStorage, sessionStorage and document.cookie
Frontend PART 15

JavaScript Web Storage and Cookies: localStorage, sessionStorage and document.cookie

We cover localStorage vs sessionStorage, storing objects with JSON, the cross-tab storage event, quota and security limits, cookie attributes through document.cookie, and why HttpOnly cookies stay invisible.

3 Nov 2026 9 min 24
Advanced JavaScript Forms: FormData, the Constraint Validation API and Fetch
Frontend PART 14

Advanced JavaScript Forms: FormData, the Constraint Validation API and Fetch

We collect values with form.elements and FormData, write our own rules with validity and setCustomValidity, catch the invalid event, and send the form with fetch without reloading the page.

3 Nov 2026 9 min 27
Advanced JavaScript Events: Bubbling, Capturing, Event Delegation and CustomEvent
Frontend PART 13

Advanced JavaScript Events: Bubbling, Capturing, Event Delegation and CustomEvent

We walk through the capturing, target and bubbling phases, stopPropagation, event delegation with a single listener, the once/passive/signal options, CustomEvent and pointer events, with runnable examples.

3 Nov 2026 9 min 21
Blog Map