Programming Languages - Destructuring
Last Updated: 2024-01-21
A.k.a unpacking.
By Language
JavaScript
const [foo, bar] = getResult();
Python
foo, bar = getResult()
A.k.a unpacking.
const [foo, bar] = getResult();
foo, bar = getResult()