Skip to content

Commit 3e84795

Browse files
authored
Update README.md
1 parent 6ff9cef commit 3e84795

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@ JavaScript iz bacuje `ReferenceError`.
6060
###### 2. Što je izlaz?
6161

6262
```javascript
63-
za (var i = 0; i <3; i ++) {
63+
for (var i = 0; i <3; i ++) {
6464
setTimeout (() => console.log (i), 1);
6565
}
6666

67-
za (let i = 0; i <3; i ++) {
67+
for (let i = 0; i <3; i ++) {
6868
setTimeout (() => console.log (i), 1);
6969
}
7070
```
7171

72-
- A: `0 1 2` i` 0 1 2`
73-
- B: "0 1 2" i "3 3 3"
74-
- C: "3 3 3" i "0 1 2"
72+
- A: `0 1 2` and `0 1 2`
73+
- B: `0 1 2` and `3 3 3`
74+
- C: `3 3 3` and `0 1 2`
7575

7676
<details><summary><b> Odgovor</b></summary>
7777
<p>
@@ -611,9 +611,9 @@ const age = 21;
611611
getPersonInfo` $ {Person} je $ {old} godina ';
612612
```
613613

614-
- A: `` Lydia` ``````````````````````````````````````
615-
- B: ```````````````````````````````````````````````````````````````````````````
616-
- C: `` Lydia` ``````````````````````````````````````````````````````````
614+
- A: `"Lydia"` `21` `["", " is ", " years old"]`
615+
- B: `["", " is ", " years old"]` `"Lydia"` `21`
616+
- C: `"Lydia"` `["", " is ", " years old"]` `21`
617617

618618
<details> <summary> <b> Odgovor </b> </summary>
619619
</p>

0 commit comments

Comments
 (0)