mirror of https://github.com/01-edu/public.git
feat: add exercise jabs
This commit is contained in:
parent
e7054b5077
commit
c7fda9a1dc
|
@ -0,0 +1,14 @@
|
|||
## jabs
|
||||
|
||||
|
||||
### Instructions
|
||||
|
||||
- Create a function named `abs` that takes a number as an argument and returns its absolute value. You must make your own implementation. You must not use `Math.abs()`
|
||||
|
||||
### Expected function
|
||||
|
||||
```js
|
||||
function abs(n) {
|
||||
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue