destructuring assignment
[/dɪˈstrʌktʃərɪŋ əˈsaɪnmənt/]
nounpl: destructuring assignments
atribuição por desestruturação
1. A programming syntax feature that allows unpacking values from data structures (arrays, objects) into distinct variables in a single statement
Using destructuring assignment, you can extract values from an array like this: const [a, b] = [1, 2];
Usando atribuição por desestruturação, você pode extrair valores de um array assim: const [a, b] = [1, 2];
2. A concise way to assign properties of an object to multiple variables without repetition
Destructuring assignment makes the code cleaner: const { name, age } = person;
A atribuição por desestruturação torna o código mais limpo: const { name, age } = person;
This is a technical term primarily used in programming and software development contexts. It became widely popular with the introduction of ES6 (ECMAScript 2015) in JavaScript and is now standard across many modern programming languages. In Brazil's growing tech scene and developer communities, the term is increasingly used in its English form or as 'desestruturação' in educational materials and technical discussions.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →