AskHandle

AskHandle Blog

Everything we publish — product, engineering, and GTM.

← Featured only

Most recent

What Are the Three Dots (...) in JavaScript and How Do You Use Them?

December 11, 2025 · Jessy Chan · 3 min read

The three dots (...) in JavaScript, known as the spread operator or rest parameter syntax, is a useful feature introduced in ES6 (ECMAScript 2015). Many developers find this notation confusing at first, but it serves two main purposes: spreading elements and gathering them together. Let's explore both uses and see practical examples.