Files
test-repo/changelog_unreleased/javascript/17708.md
T
fisker Cheungandautofix-ci[bot] 95ef24d1f0 Support "Discard Bindings" proposal (#17708)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-04 15:41:42 +08:00

462 B

Add support for "Discard Bindings" proposal (#17708 by @fisker)

The Stage 2 proposal "Discard Bindings" is now supported via Babel. Also keep in mind our policy on non-standardized syntax before using this proposed syntax feature with Prettier.

const [void] = x;

const {x:void} = x;