Skip to content

Glossary: Firebase and Supabase

destructuring, spread

Also written: destructuring, spread

JavaScript syntax that unpacks values from an array or object into variables, such as `const { data, error } = ...`. The spread `...m` copies an object's fields into a new one.

Where the book teaches it