Skip to content

Commit 5867d18

Browse files
committed
task 4
1 parent 3c3646b commit 5867d18

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

1-js/06-advanced-functions/03-closure/4-counter-object-independent/solution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
Surely it will work just fine.
2+
Cu siguranță că va funcționa foarte bine.
33

4-
Both nested functions are created within the same outer Lexical Environment, so they share access to the same `count` variable:
4+
Ambele funcții imbricate sunt create în cadrul aceluiași Mediu Lexical exterior, astfel încât au acces comun la aceeași variabilă `count`:
55

66
```js run
77
function Counter() {

1-js/06-advanced-functions/03-closure/4-counter-object-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-
# Counter object
5+
# Obiect contor
66

7-
Here a counter object is made with the help of the constructor function.
7+
Aici se creează un obiect contor cu ajutorul funcției constructor.
88

9-
Will it work? What will it show?
9+
Va funcționa? Ce va arăta?
1010

1111
```js
1212
function Counter() {

0 commit comments

Comments
 (0)