Skip to content
jshacks.dev

Tag

interview

38 posts

Flat illustration of items passing through a chain of collection methods, with the JavaScript, Vite, TypeScript and Node.js logos.
Functions

Implement chunk From Scratch in JavaScript

Write chunk from scratch in JavaScript, split arrays into fixed-size groups, handle bad sizes and short last groups, add a lazy generator and tests. Node.js 24.

7 min read