> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sourcery.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dont-Shadow-Arguments

#### Sourcery rule id: `dont-shadow-arguments`

#### Description

Don't shadow `arguments`.


#### Match

```javascript
function foo(name, options, arguments) {
  something();
}
```



#### Explanation

Never name a parameter `arguments`.
This will take precedence over the arguments object that is given to every function scope.

From the [Airbnb JavaScript Style Guide](https://airbnb.io/javascript/#functions--arguments-shadow)
