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

Objects by mahdiHash · Pull Request #118 · javascript-tutorial/fa.javascript.info

Repository navigation

Objects - #118


Merged
mahdyar merged 25 commits into javascript-tutorial:master from mahdiHash:master May 4, 2021
Merged

Objects #118 mahdyar merged 25 commits into javascript-tutorial:master from mahdiHash:master

Conversation

mahdiHash commented May 4, 2021



Copy link Copy Markdown
Contributor

Please review and commit / comment if anything is wrong
I had trouble with translating end of the line 500, so it would be the best if you check it yourself too!
And read the translation of comments as you "see" them. Just ignore the text direction for comments or otherwise, it wouldn't look correct that way 😬

mahdiHash added 23 commits April 30, 2021 14:04 Translate a part of atricle f326cb3 Translate a part of "article.md" d9acc43 Translate a comment 4fdac06 Translate a part of "article.md" and change lines 23 & 10 7ddbe6a Translate a part of "article.md" and change some lines 3c28819 Translate a part of "atricle.md" and code comments 9f4d811 Translate a part of "article.md", change a line, fix a typo 4886902 Change a title b389496 Translate a part of "atricle.md" 274eca9 Update article.md fc5f40e Update article.md 0d8a1fb Translate a part of "article.md" f9196be Translate a part of "article.md" , change some lines b584161 Translate "article.md" d45edce
Please review and commit / comment if anything is wrong
I had trouble with translating end of the line 500, so it would be the best if you check it yourself too!
And read the translation of comments as you "see" them. Just ignore the text direction for comments or otherwise, it wouldn't look correct that way 😬
Change "key" to "کلید" fe6c9a8 Change some lines 164e8d7 Change "key" to "کلید" a6fcdc6 Translate the "hello-object" task 29d1a9d Translate the "is-empty" task e3abee1 Translate "is-empty" solution 38627f0 Translate "sum-object" task 00be958 Translate "multiply-numeric" task 4dfdd67 Translate "multiply-numeric" solution 82f5919 javascript-translate-bot added the review needed label May 4, 2021 javascript-translate-bot requested a review from a team May 4, 2021 07:22 javascript-translate-bot mentioned this pull request May 4, 2021 Persian (Farsi) Translation Progress #1 Open mahdyar requested changes May 4, 2021
View reviewed changes
Comment thread 1-js/04-object-basics/01-object/article.md
Outdated
- ... و غیره .

They have their special features that we'll study later. Sometimes people say something like "Array type" or "Date type", but formally they are not types of their own, but belong to a single "object" data type. And they extend it in various ways .
هر کدام از آنها خصوصیات خاص خود را دارند که بعدا آنها را می‌آموزیم. بعضی اوقات افراد چیزهایی مانند "نوع Array" یا "نوع Date" را به زبان می‌آورند، اما به طور رسمی آنها نوعی از خود نیستند، و به نوع "object" تعلق دارند. و آنها این را با راه‌های مختلف گسترش می‌دهند .
Comment thread 1-js/04-object-basics/01-object/article.md
Outdated
```

The dot notation cannot be used in a similar way :
نقطه نمی‌تواند به این شکل استفاده شود :
Comment thread 1-js/04-object-basics/01-object/article.md
Outdated
همچنین ما می‌توانستیم به جای `key` از اسمی دیگر برای متغیر استفاده کنیم. برای مثال، `"for (let prop in obj)"` هم خیلی استفاده می‌شود .

### Ordered like an object
### مرتب مثل یک شیء
Comment thread 1-js/04-object-basics/01-object/2-hello-object/task.md
Outdated
# سلام شیء

Write the code, one line for each action :
کد لازم را بنویسید، برای هر عمل، یک خط :
Comment thread 1-js/04-object-basics/01-object/article.md
Outdated
همانطور که از فصل <info:types> می‌دانیم، 8 نوع داده در جاوااسکریپت وجود دارد. 7 مورد "اولیه یا اصلی" نامیده می‌شوند، به این دلیل که مقدارهای آنها فقط دارای یک چیز است (رشته یا عدد یا هر چیزی ).

In contrast, objects are used to store keyed collections of various data and more complex entities. In JavaScript, objects penetrate almost every aspect of the language. So we must understand them first before going in-depth anywhere else .
در مقابل، شیءها (object) برای ذخیره‌سازی مجموعه‌ای از داده‌های گوناگون و چیزهای پیچیده‌تر استفاده می‌شوند. در جاوااسکریپت، شیءها تقریبا به تمام جنبه‌های زبان نفوذ کرده‌اند. پس ما باید قبل از اینکه عمیقا به موضوع دیگری وارد شویم شیءها را بشناسیم .
Comment thread 1-js/04-object-basics/01-object/article.md
Outdated
![](object.svg)

An empty object ("empty cabinet ") can be created using one of two syntaxes :
یک شیء خالی یا empty ("قفسه خالی ") می‌تواند با استفاده از دو سینتکس ساخته شود :
Comment thread 1-js/04-object-basics/01-object/article.md
Outdated
Comment on lines +17 to +18
let user = new Object(); // " سینتکس "سازنده شیء
let user = {}; // " سینتکس "شیء لیترال

javascript-translate-bot commented May 4, 2021



Copy link Copy Markdown

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

javascript-translate-bot added changes requested and removed review needed labels May 4, 2021 mahdiHash added 2 commits May 4, 2021 17:22 Fix some problems 8451d07 Fix a line fb37baf

mahdiHash commented May 4, 2021



Copy link Copy Markdown
Contributor

Author

Thank you for your review @mahdyar
/done

javascript-translate-bot added review needed and removed changes requested labels May 4, 2021 javascript-translate-bot requested a review from a team May 4, 2021 12:56 mahdyar approved these changes May 4, 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 May 4, 2021 mahdyar merged commit 67250db into javascript-tutorial : master May 4, 2021

javascript-translate-bot commented May 4, 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