Skip to content

Commit 12a2064

Browse files
Edited the name of 'bag' variable
The variable was translated in french, and the code wasn't able to run succesfully
1 parent 51d53c1 commit 12a2064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/04-object-basics/01-object/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Par exemple :
168168
```js run
169169
let fruit = prompt("Which fruit to buy?", "apple");
170170

171-
let sac = {
171+
let bag = {
172172
*!*
173173
[fruit]: 5, // le nom de la propriété est tiré de la variable fruit
174174
*/!*

0 commit comments

Comments
 (0)