Skip to content

Commit ebf1c8d

Browse files
committed
Update curry arguments in french translation.
1 parent 88ae384 commit ebf1c8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exercises/currying/problem.fr.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ Voici un exemple d’implémentation de `curry3()`, qui « curryfie » jusqu
22

33
```js
44
function curry3(fun){
5-
return function(three){
5+
return function(one){
66
return function(two){
7-
return function (one){
7+
return function (three){
88
return fun(one, two, three)
99
}
1010
}
@@ -24,10 +24,10 @@ function abc(one, two, three) {
2424

2525
```js
2626
var curryC = curry3(abc)
27-
var curryB = curryC(2)
27+
var curryB = curryC(6)
2828
var curryA = curryB(3)
2929

30-
console.log(curryA(6)) // => 1
30+
console.log(curryA(2)) // => 1
3131
```
3232

3333
# Défi

0 commit comments

Comments
 (0)