Skip to content

Commit 2afe237

Browse files
committed
Conflict fixed on "Variable scope, closure" solution 7 page in french
language
1 parent 54586c6 commit 2afe237

File tree

1 file changed

+0
-6
lines changed
  • 1-js/06-advanced-functions/03-closure/7-let-scope

1 file changed

+0
-6
lines changed

1-js/06-advanced-functions/03-closure/7-let-scope/solution.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,9 @@ Le code ci-dessus le démontre.
2626
```js
2727
function func() {
2828
*!*
29-
<<<<<<< HEAD
3029
// la variable locale x est connue du moteur depuis le début de la fonction,
3130
// mais "non initialisée" (inutilisable) jusqu'à let ("zone morte")
3231
// d'où l'erreur
33-
=======
34-
// the local variable x is known to the engine from the beginning of the function,
35-
// but "uninitialized" (unusable) until let ("dead zone")
36-
// hence the error
37-
>>>>>>> 7b76185892aa9798c3f058256aed44a9fb413cc3
3832
*/!*
3933

4034
console.log(x); // ReferenceError: Cannot access 'x' before initialization

0 commit comments

Comments
 (0)