Add nullish coalescing to multiple articles, refactor operators, renumber the chapter
This commit is contained in:
parent
175aefa0b8
commit
8a13c992d6
54 changed files with 386 additions and 183 deletions
16
1-js/02-first-steps/15-function-basics/3-min/task.md
Normal file
16
1-js/02-first-steps/15-function-basics/3-min/task.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
importance: 1
|
||||
|
||||
---
|
||||
|
||||
# Function min(a, b)
|
||||
|
||||
Write a function `min(a,b)` which returns the least of two numbers `a` and `b`.
|
||||
|
||||
For instance:
|
||||
|
||||
```js
|
||||
min(2, 5) == 2
|
||||
min(3, -1) == -1
|
||||
min(1, 1) == 1
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue