Menu
CodeSprout
Typo-tolerant search across every article, problem and post. to open

Section

JavaScript

The language the web runs on — fundamentals, modern features, and the parts you actually reach for day to day.

Latest in JavaScript

  • Two Sum

    Given an array of integers and a target, return the indices of the two numbers that add up to it. A classic warm-up for hash maps.

    kvi5hnu
  • The five array methods you will actually reach for

    map, filter, reduce, find and some/every cover almost every array transform you will ever write. Here is when to pick each and the one-line patterns worth memorising.

    kvi5hnu2 min
  • Promises and async/await, the short version

    A clear, no-magic walkthrough of how promises run on the event loop, where microtasks fit in, and why async/await is just a shorter spelling of the same mechanics.

    kvi5hnu2 min