Skip to content

Commit 26a3e06

Browse files
authored
Merge pull request #247 from javascript-tutorial/sync-ea7738bb
Sync with upstream @ ea7738b
2 parents 00869ef + 8bf743a commit 26a3e06

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ if (cond) {
6868

6969
## عبارت "else"
7070

71-
دستور `if` ممکن است یک بلوک اختیاری "else" هم شامل شود. این بلوک زمانی که شرط falsy باشد اجرا می‌شود.
71+
دستور `if` ممکن است یک بلوک اختیاری `else` هم شامل شود. این بلوک زمانی که شرط falsy باشد اجرا می‌شود.
7272

7373
برای مثال:
7474
```js run

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ alert(users.findIndex(user => user.name == 'John')); // 0
337337
alert(users.findLastIndex(user => user.name == 'John')); // 3
338338
```
339339

340-
341340
### متد filter
342341

343342
متد `find` برای یک (اولین) المان که باعث شود تابع `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)