Skip to content

Commit b310958

Browse files
authored
Update solution.md
1 parent 315096d commit b310958

File tree

1 file changed

+4
-3
lines changed
  • 1-js/02-first-steps/14-function-basics/3-min

1 file changed

+4
-3
lines changed

1-js/02-first-steps/14-function-basics/3-min/solution.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
A solution using `if`:
1+
Uma solução usando `if`:
22

33
```js
44
function min(a, b) {
@@ -10,12 +10,13 @@ function min(a, b) {
1010
}
1111
```
1212

13-
A solution with a question mark operator `'?'`:
13+
Uma solução com o operador de interrogação `'?'`:
1414

1515
```js
1616
function min(a, b) {
1717
return a < b ? a : b;
1818
}
1919
```
2020

21-
P.S. In the case of an equality `a == b` it does not matter what to return.
21+
P.S. No caso de igualdade `a == b`, não importa o que retorna.
22+

0 commit comments

Comments
 (0)