Skip to content

Commit 3c3646b

Browse files
committed
task 3
1 parent e54a1c5 commit 3c3646b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
The answer: **0,1.**
1+
Răspunsul: **0,1.**
22

3-
Functions `counter` and `counter2` are created by different invocations of `makeCounter`.
3+
Funcțiile `counter` și `counter2` sunt create prin invocări diferite ale lui `makeCounter`.
44

5-
So they have independent outer Lexical Environments, each one has its own `count`.
5+
Deci ele au Medii Lexicale exterioare independente, fiecare având propriul `count`.

1-js/06-advanced-functions/03-closure/3-counter-independent/task.md

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

33
---
44

5-
# Are counters independent?
5+
# Sunt contoarele independente?
66

7-
Here we make two counters: `counter` and `counter2` using the same `makeCounter` function.
7+
Aici facem două contoare: `counter` și `counter2` folosind aceeași funcție `makeCounter`.
88

9-
Are they independent? What is the second counter going to show? `0,1` or `2,3` or something else?
9+
Sunt ele independente? Ce va arăta cel de-al doilea contor? `0,1` sau `2,3` sau altceva?
1010

1111
```js
1212
function makeCounter() {

0 commit comments

Comments
 (0)