logo

Programming Languages - Destructuring

A.k.a unpacking.

By Language

JavaScript

const [foo, bar] = getResult();

Python

foo, bar = getResult()