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