mirror of https://github.com/01-edu/public.git
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.
15 lines
556 B
15 lines
556 B
5 years ago
|
## Returns
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
Create the following functions:
|
||
|
|
||
|
- `id` that takes one argument and return it
|
||
|
- `getLength` that takes an array or a string and return its length
|
||
|
|
||
|
### Notions
|
||
|
|
||
|
- [nan-academy.github.io/js-training/examples/functions](https://nan-academy.github.io/js-training/examples/functions.js)
|
||
|
- [nan-academy.github.io/js-training/examples/data-structures](https://nan-academy.github.io/js-training/examples/data-structures.js)
|
||
|
- [nan-academy.github.io/js-training/examples/get](https://nan-academy.github.io/js-training/examples/get.js)
|