Skip to content

Commit 36e8ed6

Browse files
authored
Merge pull request #25 from rztprog/master
Translate JSON in french language
2 parents bd4ab42 + abeb774 commit 36e8ed6

File tree

4 files changed

+116
-116
lines changed

4 files changed

+116
-116
lines changed

1-js/05-data-types/11-json/1-serialize-object/task.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ importance: 5
22

33
---
44

5-
# Turn the object into JSON and back
5+
# Transforme l'objet en JSON et revenez en arrière
66

7-
Turn the `user` into JSON and then read it back into another variable.
7+
Transformez `l’utilisateur` en JSON puis relisez-le dans une autre variable.
88

99
```js
1010
let user = {

1-js/05-data-types/11-json/2-serialize-event-circular/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ alert( JSON.stringify(meetup, function replacer(key, value) {
2626
*/
2727
```
2828

29-
Here we also need to test `key==""` to exclude the first call where it is normal that `value` is `meetup`.
29+
Ici, nous devons également tester la `key==""` pour exclure le premier appel où il est normal que la `valeur` soit `meetup`.
3030

1-js/05-data-types/11-json/2-serialize-event-circular/task.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ importance: 5
22

33
---
44

5-
# Exclude backreferences
5+
# Exclure les backreferences
66

7-
In simple cases of circular references, we can exclude an offending property from serialization by its name.
7+
Dans les cas simples de références circulaires, nous pouvons exclure une propriété incriminée de la sérialisation par son nom.
88

9-
But sometimes there are many backreferences. And names may be used both in circular references and normal properties.
9+
Mais parfois, il y a beaucoup de backreferences. Et les noms peuvent être utilisés à la fois dans les références circulaires et dans les propriétés normales.
1010

11-
Write `replacer` function to stringify everything, but remove properties that reference `meetup`:
11+
Écrivez la fonction de `remplacement` pour tout stringify, mais supprimez les propriétés qui font référence à `meetup`:
1212

1313
```js run
1414
let room = {

0 commit comments

Comments
 (0)