We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315096d commit b310958Copy full SHA for b310958
1-js/02-first-steps/14-function-basics/3-min/solution.md
@@ -1,4 +1,4 @@
1
-A solution using `if`:
+Uma solução usando `if`:
2
3
```js
4
function min(a, b) {
@@ -10,12 +10,13 @@ function min(a, b) {
10
}
11
```
12
13
-A solution with a question mark operator `'?'`:
+Uma solução com o operador de interrogação `'?'`:
14
15
16
17
return a < b ? a : b;
18
19
20
21
-P.S. In the case of an equality `a == b` it does not matter what to return.
+P.S. No caso de igualdade `a == b`, não importa o que retorna.
22
+
0 commit comments