We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f420dff commit 305f087Copy full SHA for 305f087
1-js/02-first-steps/14-function-basics/3-min/solution.md
@@ -1,4 +1,4 @@
1
-A solution using `if`:
+Sprendimo variantas naudojant `if`:
2
3
```js
4
function min(a, b) {
@@ -10,12 +10,12 @@ function min(a, b) {
10
}
11
```
12
13
-A solution with a question mark operator `'?'`:
+Sprendimo variantas su operatoriumi `?`:
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. Lygybės `a == b` atveju nesvarbu, ką grąžinti.
0 commit comments