diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:47:18 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:47:18 +0100 |
commit | 82a56fd6086071926378ba51d62f6beb417878b1 (patch) | |
tree | 349ec10811c116cedc549c732627a6febf102647 /files/he/glossary/array/index.html | |
parent | 8260a606c143e6b55a467edf017a56bdcd6cba7e (diff) | |
download | translated-content-82a56fd6086071926378ba51d62f6beb417878b1.tar.gz translated-content-82a56fd6086071926378ba51d62f6beb417878b1.tar.bz2 translated-content-82a56fd6086071926378ba51d62f6beb417878b1.zip |
unslug he: move
Diffstat (limited to 'files/he/glossary/array/index.html')
-rw-r--r-- | files/he/glossary/array/index.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/files/he/glossary/array/index.html b/files/he/glossary/array/index.html new file mode 100644 index 0000000000..5dc44022de --- /dev/null +++ b/files/he/glossary/array/index.html @@ -0,0 +1,42 @@ +--- +title: מערך +slug: Glossary/מערך +translation_of: Glossary/array +--- +<p dir="rtl"> </p> + +<div dir="rtl"><span style="font-size: 1rem; letter-spacing: -0.00278rem;">מערך הוא אוסף מסודר של ערכים (או "פרימיטיבים" או "אובייקטים" תלוי בשפה) כל פריט באוסף נקרא איבר.</span></div> + +<div dir="rtl"><span style="font-size: 1rem; letter-spacing: -0.00278rem;">משתמשים במערכים בכדי לאכסן ערכים מרובים במשתנה יחיד. בשונה ממשתנה(רגיל) שיוכל לאכסן ערך יחיד.</span><br> + </div> + +<div dir="rtl"><span style="font-size: 1rem; letter-spacing: -0.00278rem;">לכל איבר במערך יש מספר המוצמד אליו שנקרא אינדקס ,אשר מאפשר לך לגישה אליו.<br> +בג'אווה סקריפט המערכים מתחילים מאינדקס אפס ואפשר לשנות אותם על ידי שימוש במתודות(methods) שונות.</span></div> + +<div dir="rtl"> </div> + +<div dir="rtl">מערך בג'אווה סקריפט נראה כך:</div> + +<p dir="rtl"> </p> + +<pre><code>var myArray = [1, 2, 3, 4]; +var catNamesArray = ["Danny", "Yossi", "Hila"]; +//מערך בג'אווה סקריפט יכול להכיל סוגים שונים של מידע כפי שמתואר מעל</code></pre> + +<p dir="rtl"> </p> + +<p dir="rtl"> </p> + +<h2 id="Learn_more">Learn more</h2> + +<h3 id="General_knowledge">General knowledge</h3> + +<ul> + <li>{{Interwiki("wikipedia", "Array data structure", "Array")}} on Wikipedia</li> +</ul> + +<h3 id="Technical_reference">Technical reference</h3> + +<ul> + <li>JavaScript {{jsxref("Array")}} on MDN</li> +</ul> |