Files
test-repo/tests/format/js/discard-binding/unary-expression-void.js
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

17 lines
201 B
JavaScript

// expr
void [
// pattern
[ void ] = [{
// expr
[ void [] ]:
// pattern
[ void ] =
// expr
void [
// pattern
([void]) => []
]
// expr
}] = [void []]
]