Sitemap
Jon Randy

Jon Randy

🤖 Artisanal developer - coding with varying degrees of success since 1983

Jun 3, 2025

This type of destructuring is for ANY iterable, not only arrays. Strings will also work, for example:

let [first, second, third] = "cat"