← Winnitude! Search  ·  Reader Mode (1625 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 108 LINKS

Logical operators by mahdiHash · Pull Request #100 · javascript-tutorial/fa.javascript.info

Repository navigation

Logical operators - #100


Merged
mahdyar merged 24 commits into javascript-tutorial:master from mahdiHash:master Mar 27, 2021
Merged

Logical operators #100 mahdyar merged 24 commits into javascript-tutorial:master from mahdiHash:master

Conversation

mahdiHash commented Mar 26, 2021



Copy link Copy Markdown
Contributor

Please read the description of article.md and solution.md of task 8 "if question".
Please review and comment / commit if anything is wrong

mahdiHash added 22 commits March 22, 2021 19:46 Translate task.md c65f2c4
Please review and comment / commit if anything is wrong
Translate solution.md 72b0f3d
Please review and comment / commit if anything is wrong
Translate task.md 93a9323
Please review and comment / commit if anything is wrong
Translate solution.md 334f30e
Please review and comment / commit if anything is wrong
Translate task.md 2fdad10
Please review and comment / commit if anything is wrong
Translate solution.md 1400d48
Please review and comment / commit if anything is wrong
Translate task.md ae6a43c
Please review and comment / commit if anything is wrong
Translate solution.md e063f71
Please review and comment / commit if anything is wrong
Translate task.md 409b9b8
Please review and comment / commit if anything is wrong
Translate solution.md 7ccd995
Please review and comment / commit if anything is wrong
Translate task.md 6859942
Please review and comment / commit if anything is wrong
Translate task.md caaf46a
Please review and comment / commit if anything is wrong
Translate solution.md f80ac8a
Please review and comment / commit if anything is wrong
Translate task.md a695b87
Please review and comment / commit if anything is wrong
Translate task.md (read description) 146cd06
I translated line 7 as it was but in my opinion to keep it readable it would be better this way:
نتیجه 0 || 1- برابر با 1- است، truthy
Please review and comment / commit if anything is wrong
Translate task.md 3133762
Please review and comment / commit if anything is wrong
Translate solution.md 8a7aac7
Please review and comment / commit if anything is wrong
Translate solution.md (read description) 09d78fd
I translated line 7 as it was but in my opinion to keep it readable it would be better this way:
نتیجه 0 || 1- برابر با 1- است، truthy
Please review and comment / commit if anything is wrong
Translate a part of article.md 4584ad0
Translation is not done yet
Translate second part of article.md e6681eb
I translated line 100 as it was but I think it would be better this way:
این باعث چند استفاده جالب نسبت به یک "OR خالص و کلاسیک که تنها boolean قبول می کند" می شود.
Please let me know what you think
Translate third part 34efc15
Translation is not done yet
Translate article.md (read description) e4a4185
I translated line 100 as it was but I think it would be better this way:
این باعث چند استفاده جالب نسبت به یک "OR خالص و کلاسیک که تنها boolean قبول می کند" می شود.
Please let me know what you think and review and comment / commit if anything is wrong
javascript-translate-bot added the review needed label Mar 26, 2021 javascript-translate-bot requested a review from a team March 26, 2021 15:12 javascript-translate-bot mentioned this pull request Mar 26, 2021 Persian (Farsi) Translation Progress #1 Open mahdyar requested changes Mar 26, 2021
View reviewed changes
Comment thread 1-js/02-first-steps/11-logical-operators/1-alert-null-2-undefined/solution.md
Outdated
@@ -1,4 +1,4 @@
The answer is `2`, that's the first truthy value .
جواب 2 است، آن(2) اولین مقدار truthy است .
Comment thread 1-js/02-first-steps/11-logical-operators/article.md
Outdated
بیایید جزییات را ببینیم .

## || (OR)
## || (OR یا )
Comment thread 1-js/02-first-steps/11-logical-operators/article.md
Outdated
Comment on lines +24 to +27
alert( true || true ); // true درست
alert( false || true ); // true درست
alert( true || false ); // true درست
alert( false || false ); // false اشتباه
Comment thread 1-js/02-first-steps/11-logical-operators/article.md
Outdated
```

The precedence of NOT `!` is the highest of all logical operators, so it always executes first, before `&&` or `||`.
اولویت NOT `!` بالاترین اولویت بین عملگر های منطقی دارد، بنابراین همیشه اول اجرا می شود، قبل از `&&` یا `||`.
Comment thread 1-js/02-first-steps/11-logical-operators/article.md
Outdated

if (hour < 10 || hour > 18 || isWeekend) {
alert( 'The office is closed.' ); // it is the weekend
alert( 'The office is closed.' ); // آخر هفته است
javascript-translate-bot added changes requested and removed review needed labels Mar 26, 2021

javascript-translate-bot commented Mar 26, 2021



Copy link Copy Markdown

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

Fix the mentioned problem e63c0ef Fix the mentioned problems a1c1d34
All the mentioned problems are fixed.

mahdiHash commented Mar 27, 2021



Copy link Copy Markdown
Contributor

Author

Thank you for your review, @mahdyar

mahdiHash commented Mar 27, 2021



Copy link Copy Markdown
Contributor

Author

/done

javascript-translate-bot added review needed and removed changes requested labels Mar 27, 2021 javascript-translate-bot requested a review from a team March 27, 2021 10:33 mahdyar approved these changes Mar 27, 2021
View reviewed changes

mahdyar left a comment



Copy link Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more .

Thank you, @mahdiHashemi14!

javascript-translate-bot added needs +1 and removed review needed labels Mar 27, 2021 mahdyar merged commit a408f10 into javascript-tutorial : master Mar 27, 2021

javascript-translate-bot commented Mar 27, 2021



Copy link Copy Markdown

Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉

Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

needs +1

3 participants