Files
2026-06-01 13:17:37 +02:00

20 lines
565 B
Markdown

# @babel/plugin-bugfix-safari-rest-destructuring-rhs-array
> Workaround a Safari bug where rest destructuring with an array literal on the rhs can yield incorrect results
See our website [@babel/plugin-bugfix-safari-rest-destructuring-rhs-array](https://babeljs.io/docs/babel-plugin-bugfix-safari-rest-destructuring-rhs-array) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-bugfix-safari-rest-destructuring-rhs-array
```
or using yarn:
```sh
yarn add @babel/plugin-bugfix-safari-rest-destructuring-rhs-array --dev
```