logo

Polyglot CheatSheet - Destructuring

Last Updated: 2022-04-04

JavaScript

const [foo, bar] = getResult();

Python

foo, bar = getResult()