Skip to content

Commit ef140fc

Browse files
committed
merging all conflicts
2 parents fbed1c4 + ea7738b commit ef140fc

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

1-js/02-first-steps/10-ifelse/article.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,15 @@ if (cond) {
6868

6969
## Η ρήτρα "else"
7070

71+
<<<<<<< HEAD
7172
<<<<<<< HEAD
7273
Η δήλωση `if` μπορεί να περιέχει ένα προαιρετικό μπλοκ "else". Εκτελείται όταν η συνθήκη είναι λανθασμένη.
7374
=======
7475
The `if` statement may contain an optional "else" block. It executes when the condition is falsy.
7576
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f
77+
=======
78+
The `if` statement may contain an optional `else` block. It executes when the condition is falsy.
79+
>>>>>>> ea7738bb7c3616bb51ff14ae3db2a2747d7888ff
7680
7781
Για παράδειγμα:
7882
```js run

1-js/05-data-types/05-array-methods/article.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ alert( arr.includes(1) ); // true
255255

256256
Please note that `indexOf` uses the strict equality `===` for comparison. So, if we look for `false`, it finds exactly `false` and not the zero.
257257

258-
If we want to check if `item` exists in the array, and don't need the exact index, then `arr.includes` is preferred.
258+
If we want to check if `item` exists in the array, and don't need the index, then `arr.includes` is preferred.
259259

260260
The method [arr.lastIndexOf](mdn:js/Array/lastIndexOf) is the same as `indexOf`, but looks for from right to left.
261261

@@ -338,8 +338,6 @@ alert(users.findIndex(user => user.name == 'John')); // 0
338338
alert(users.findLastIndex(user => user.name == 'John')); // 3
339339
```
340340
341-
342-
343341
### filter
344342
345343
The `find` method looks for a single (first) element that makes the function return `true`.

5-network/10-long-polling/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Long polling
22

3-
Long polling is the simplest way of having persistent connection with server, that doesn't use any specific protocol like WebSocket or Server Side Events.
3+
Long polling is the simplest way of having persistent connection with server, that doesn't use any specific protocol like WebSocket or Server Sent Events.
44

55
Being very easy to implement, it's also good enough in a lot of cases.
66

0 commit comments

Comments
 (0)