Skip to main content

Harshal V. LADHE

Modern JavaScript Features of ES2025

Language features added in ECMAScript 2025, with browser support, edge cases and fallbacks for older runtimes.

Content tagged es2025

  • Snippet:First N Matches from Any Iterable with filter() and take()

    Get the first N matches and stop reading.
    Return the first N matches from any iterable with Iterator.from(), filter() and take(), stopping as soon as it has enough, even on infinite sequences.
    Published at:
    Categories:JavaScript
    Estimated reading time:4 min read
  • Tutorial:Iterator Helpers: Lazy Pipelines over Any Iterator

    Map, filter and take over any iterator, lazily.
    Use ES2025 iterator helpers (map, filter, take, drop, flatMap, reduce, Iterator.from) to build lazy pipelines over generators, Sets, Maps and infinite sequences.
    Published at:
    Categories:JavaScript
    Estimated reading time:10 min read
  • Tutorial:Native JavaScript Set Methods: union, intersection and difference

    Compare two Sets natively, with no array conversion.
    Compare JavaScript Sets with native union(), intersection(), difference() and more: usage, browser support, edge cases and a fallback.
    Published at:
    Categories:JavaScript
    Estimated reading time:8 min read