style guide 3a function parameters

Solutions on MaxInterview for style guide 3a function parameters by the best coders in the world

showing results for - "style guide 3a function parameters"
Leonie
07 May 2018
1// Style Guide: Function parameters
2// Never name the arguments parameter else it will
3// take the precedence over your arguments:
4
5
6// bad
7function nope(name, options, arguments) {
8  // ...stuff...
9}
10
11// good
12function yup(name, options, args) {
13  // ...stuff...
14}
15
16