# @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 ```