Destructuring
The destructuring assignment syntax is a JavaScript expression that unpacks values from arrays, or properties from objects, into distinct variables.
Status
Baseline Widely Available (since 2022-07-15)
MDN documentation
Specifications
- ECMAScript® 2026 Language Specification (#sec-destructuring-assignment), from TC39 (Ecma International).
- ECMAScript® 2026 Language Specification (#sec-destructuring-binding-patterns), from TC39 (Ecma International).
Browser support
- Chrome 60 Released on 2017-07-25
- Chrome Android 60 Released on 2017-08-01
- Edge 79 Released on 2020-01-15
- Firefox 55 Released on 2017-08-08
- Firefox for Android 55 Released on 2017-08-08
- Safari 11.1 Released on 2018-04-12
- Safari on iOS 11.3 Released on 2018-03-29
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist