You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
496 B

## 🌟 Give it a ...rest
### Instructions
You are now a butter passer, calculator, and barttender all-in-one robot. You
want to keep on improving but you can feel like your memory capacities are
reaching their limits. You will now try to improve what you aready have.
Declare the function `countArgs` which will return the number of argument it
recieved. Examples:
```js
console.log(countArgs(1)) // 1
console.log(countArgs(1, 10)) // 2
console.log(countArgs(1, 10, 100)) // 3
// etc...
```