diff --git a/store/ar/index.js b/store/ar/index.js
index b3ff29f..cfbab30 100644
--- a/store/ar/index.js
+++ b/store/ar/index.js
@@ -207,6 +207,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'indexOf',
+ shortDesc: 'الفهرس الأول لعنصر معين بعد فهرس معين',
+ desc:
+ `تأخذ الدالة indexOf
معلمة fromIndex
ثانية يمكن استخدامها لتوفير الفهرس لبدء البحث في.
+ تُرجع أول فهرس يمكن العثور على عنصر محدد به في الصفيف بعد fromIndex
، أو -1 إذا لم يكن موجودًا.
+ ملاحظة: يتم إرجاع -1 إذا كان العنصر المحدد موجودًا قبل fromIndex
فقط
`,
+ example: `console.log(arr.indexOf(5, 0));
+ arr = [5, 1, 8, 5, 4, 5];
+ console.log(arr.indexOf(5, 2));`,
+ output: `0
+ 3`
+ },
{
name: 'lastIndexOf',
shortDesc: 'العنوان الأخير لعنصر معين',
@@ -215,6 +228,19 @@ export default {
example: `console.log(arr.lastIndexOf(5));`,
output: `0`
},
+ {
+ name: 'lastIndexOf',
+ shortDesc: 'الفهرس الأخير لعنصر معين قبل فهرس معين',
+ desc:
+ `تأخذ الدالة lastIndexOf
معلمة fromIndex
ثانية يمكن استخدامها لتوفير الفهرس لبدء البحث للخلف.
+ تُرجع آخر فهرس يمكن العثور على عنصر محدد به في الصفيف قبل fromIndex
، أو -1 إذا لم يكن موجودًا.
+ ملاحظة: يتم إرجاع -1 إذا كان العنصر المحدد موجودًا بعد fromIndex
فقط`,
+ example: `console.log(arr.lastIndexOf(8, 2));
+ arr = [8, 1, 8];
+ console.log(arr.lastIndexOf(8, 1));`,
+ output: `2
+ 0`
+ },
{
name: 'find',
shortDesc: 'أول عنصر يطابق شرط معين',
diff --git a/store/bg/index.js b/store/bg/index.js
index c4458d1..dfaf571 100644
--- a/store/bg/index.js
+++ b/store/bg/index.js
@@ -157,7 +157,7 @@ export default {
desc:
'Методът forEach() изпълнява една предоставена функция веднъж за всеки елемент на масива.',
example: `arr.forEach((element) => {
- console.log(element)
+ console.log(element)
});`,
output: `5
1
@@ -203,6 +203,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'indexOf',
+ shortDesc: 'първият индекс на определена позиция след определен индекс',
+ desc:
+ `Функцията indexOf
отнема втори параметър fromIndex
, който може да се използва за предоставяне на индекса за стартиране на търсенето.
+ Връща първия индекс, при който даден елемент може да бъде намерен в масива след fromIndex
, или -1, ако не присъства.
+ Забележка: връща -1, ако даденият елемент присъства само преди fromIndex
`,
+ example: `console.log(arr.indexOf(5, 0));
+ arr = [5, 1, 8, 5, 4, 5];
+ console.log(arr.indexOf(5, 2));`,
+ output: `0
+ 3`
+ },
{
name: 'lastIndexOf',
shortDesc: 'последния индекс на конкретен елемент',
@@ -211,6 +224,19 @@ export default {
example: `console.log(arr.lastIndexOf(5));`,
output: `0`
},
+ {
+ name: 'lastIndexOf',
+ shortDesc: 'последният индекс на конкретен елемент преди определен индекс',
+ desc:
+ `Функцията lastIndexOf
отнема втори параметър fromIndex
, който може да се използва за предоставяне на индекса, за да започне търсенето назад.
+ Връща последния индекс, при който даден елемент може да бъде намерен в масива преди fromIndex
, или -1, ако не присъства.
+ Забележка: връща -1, ако даденият елемент присъства само след отIndex
`,
+ example: `console.log(arr.lastIndexOf(8, 2));
+ arr = [8, 1, 8];
+ console.log(arr.lastIndexOf(8, 1));`,
+ output: `2
+ 0`
+ },
{
name: 'find',
shortDesc: 'първият елемент, който удовлетворява едно условие',
diff --git a/store/cz/index.js b/store/cz/index.js
index 04ab01c..ad439de 100644
--- a/store/cz/index.js
+++ b/store/cz/index.js
@@ -208,6 +208,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'indexOf',
+ shortDesc: 'první index konkrétní položky za konkrétním indexem',
+ desc:
+ `Funkce indexOf
vezme druhý parametr fromIndex
, který lze použít k poskytnutí indexu pro zahájení vyhledávání.
+ Vrátí první index, ve kterém lze daný prvek nalézt v poli po fromIndex
, nebo -1, pokud není přítomen.
+ Poznámka: vrací -1, pokud je daný prvek přítomen před fromIndex
`,
+ example: `console.log(arr.indexOf(5, 0));
+ arr = [5, 1, 8, 5, 4, 5];
+ console.log(arr.indexOf(5, 2));`,
+ output: `0
+ 3`
+ },
{
name: 'lastIndexOf',
shortDesc: 'poslední výskyt daného prvku',
@@ -216,6 +229,19 @@ export default {
example: `console.log(arr.lastIndexOf(5));`,
output: `0`
},
+ {
+ name: 'lastIndexOf',
+ shortDesc: 'poslední index konkrétní položky před konkrétním indexem',
+ desc:
+ `Funkce lastIndexOf
vezme druhý parametr fromIndex
, který lze použít k poskytnutí indexu pro zahájení vyhledávání zpět.
+ Vrátí poslední index, ve kterém lze daný prvek nalézt v poli před fromIndex
, nebo -1, pokud není přítomen.
+ Poznámka: vrací -1, pokud je daný prvek přítomen pouze za fromIndex
`,
+ example: `console.log(arr.lastIndexOf(8, 2));
+ arr = [8, 1, 8];
+ console.log(arr.lastIndexOf(8, 1));`,
+ output: `2
+ 0`
+ },
{
name: 'find',
shortDesc: 'první prvek, který splňuje podmínku',
diff --git a/store/de/index.js b/store/de/index.js
index 803d1ce..81bb6db 100644
--- a/store/de/index.js
+++ b/store/de/index.js
@@ -211,6 +211,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'indexOf',
+ shortDesc: 'Der erste Index eines bestimmten Elements nach einem bestimmten Index',
+ desc:
+ `Die Funktion indexOf code> verwendet einen zweiten fromIndex code> -Parameter, mit dem der Index zum Starten der Suche bei angegeben werden kann.
+ Gibt den ersten Index zurück, bei dem ein bestimmtes Element im Array nach fromIndex code> gefunden wird, oder -1, wenn es nicht vorhanden ist
+ Hinweis: Gibt -1 zurück, wenn das angegebene Element nur vor fromIndex code> vorhanden ist`,
+ example: `console.log(arr.indexOf(5, 0));
+ arr = [5, 1, 8, 5, 4, 5];
+ console.log(arr.indexOf(5, 2));`,
+ output: `0
+ 3`
+ },
{
name: 'lastIndexOf',
shortDesc: 'den letzten Index eines Elements finden',
@@ -219,6 +232,19 @@ export default {
example: `console.log(arr.lastIndexOf(5));`,
output: `0`
},
+ {
+ name: 'lastIndexOf',
+ shortDesc: 'der letzte Index eines bestimmten Elements vor einem bestimmten Index',
+ desc:
+ `Die Funktion lastIndexOf code> verwendet einen zweiten fromIndex code> -Parameter, mit dem der Index bereitgestellt werden kann, um die Suche rückwärts zu starten.
+ Gibt den letzten Index zurück, an dem ein bestimmtes Element im Array vor fromIndex code> gefunden werden kann, oder -1, wenn es nicht vorhanden ist
+ Hinweis: Gibt -1 zurück, wenn das angegebene Element nur nach fromIndex code> vorhanden ist`,
+ example: `console.log(arr.lastIndexOf(8, 2));
+ arr = [8, 1, 8];
+ console.log(arr.lastIndexOf(8, 1));`,
+ output: `2
+ 0`
+ },
{
name: 'find',
shortDesc: 'das erste Element, welches eine Bedingung erfüllt, finden',
diff --git a/store/el/index.js b/store/el/index.js
index 5086fbc..2153138 100644
--- a/store/el/index.js
+++ b/store/el/index.js
@@ -149,7 +149,7 @@ export default {
name: 'copyWithin',
shortDesc: 'αντιγράψω μέρος του πίνακα σε άλλη θέση.',
desc:
- 'Αντιγράφει μέρος του πίνακα σε άλλη θέση, χωρίς να μεταβάλει το μέγεθός του. Μπορείτε να θέσετε είτε την τελική θέση στον πίνακα (οπότε αρχική ειναι η μηδενική), είτε την αρχική και την τελική χωρισμένες με κόμμα.',
+ 'Αντιγράφει μέρος του πίνακα σε άλλη θέση, χωρίς να μεταβάλει το μέγεθός του. Μπορείτε να θέσετε είτε την τελική θέση στον πίνακα (οπότε αρχική ειναι η μηδενική), είτε την αρχική και την τελική χωρισμένες με κόμμα.',
example: `arr.copyWithin(1);
console.log(arr);`,
output: `[5, 5, 1]`
@@ -208,6 +208,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'indexOf',
+ shortDesc: 'ο πρώτος δείκτης ενός συγκεκριμένου στοιχείου μετά από έναν συγκεκριμένο δείκτη',
+ desc:
+ `Η συνάρτηση indexOf code> παίρνει μια δεύτερη παράμετρο fromIndex code> που μπορεί να χρησιμοποιηθεί για την παροχή του ευρετηρίου για να ξεκινήσει η αναζήτηση.
+ Επιστρέφει τον πρώτο ευρετήριο στον οποίο μπορεί να βρεθεί ένα δεδομένο στοιχείο στη συστοιχία μετά από fromIndex code> ή -1 αν δεν υπάρχει.
+ Σημείωση: Επιστρέφει -1 εάν το δεδομένο στοιχείο υπάρχει μόνο πριν από το fromIndex code> μόνο`,
+ example: `console.log(arr.indexOf(5, 0));
+ arr = [5, 1, 8, 5, 4, 5];
+ console.log(arr.indexOf(5, 2));`,
+ output: `0
+ 3`
+ },
{
name: 'lastIndexOf',
shortDesc: 'την τελευταία θέση στην οποία υπάρχει ένα συγκεκριμένο στοιχείο',
@@ -216,6 +229,19 @@ export default {
example: `console.log(arr.lastIndexOf(5));`,
output: `0`
},
+ {
+ name: 'lastIndexOf',
+ shortDesc: 'τον τελευταίο δείκτη ενός συγκεκριμένου στοιχείου πριν από ένα συγκεκριμένο δείκτη',
+ desc:
+ `Η συνάρτηση lastIndexOf code> λαμβάνει μια δεύτερη παράμετρο fromIndex code> που μπορεί να χρησιμοποιηθεί για την παροχή του ευρετηρίου για να ξεκινήσει η αναζήτηση προς τα πίσω από.
+ Επιστρέφει το τελευταίο ευρετήριο στο οποίο ένα δεδομένο στοιχείο μπορεί να βρεθεί στον πίνακα πριν το fromIndex code>, ή το -1 αν δεν υπάρχει.
+ Σημείωση: Επιστρέφει -1 εάν το δεδομένο στοιχείο υπάρχει μόνο μετά από fromIndex code> μόνο`,
+ example: `console.log(arr.lastIndexOf(8, 2));
+ arr = [8, 1, 8];
+ console.log(arr.lastIndexOf(8, 1));`,
+ output: `2
+ 0`
+ },
{
name: 'find',
shortDesc: 'το πρώτο στοιχείο που ικανοποιεί μια συνθήκη',
diff --git a/store/en/index.js b/store/en/index.js
index 30bffeb..66c36d3 100644
--- a/store/en/index.js
+++ b/store/en/index.js
@@ -208,6 +208,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'indexOf',
+ shortDesc: 'the first index of a particular item after a particular index',
+ desc:
+ `The indexOf
function takes a second fromIndex
parameter that can be used to provide the index to start the search at.
+ Returns the first index at which a given element can be found in the array after fromIndex
, or -1 if it is not present.
+ Note: returns -1 if the given element is present before fromIndex
only`,
+ example: `console.log(arr.indexOf(5, 0));
+ arr = [5, 1, 8, 5, 4, 5];
+ console.log(arr.indexOf(5, 2));`,
+ output: `0
+ 3`
+ },
{
name: 'lastIndexOf',
shortDesc: 'the last index of a particular item',
@@ -216,6 +229,19 @@ export default {
example: `console.log(arr.lastIndexOf(5));`,
output: `0`
},
+ {
+ name: 'lastIndexOf',
+ shortDesc: 'the last index of a particular item before a particular index',
+ desc:
+ `The lastIndexOf
function takes a second fromIndex
parameter that can be used to provide the index to start the search backwards from.
+ Returns the last index at which a given element can be found in the array before fromIndex
, or -1 if it is not present.
+ Note: returns -1 if the given element is present after fromIndex
only`,
+ example: `console.log(arr.lastIndexOf(8, 2));
+ arr = [8, 1, 8];
+ console.log(arr.lastIndexOf(8, 1));`,
+ output: `2
+ 0`
+ },
{
name: 'find',
shortDesc: 'the first element that satisfies a condition',
diff --git a/store/es/index.js b/store/es/index.js
index d2ccc2b..7cf6600 100644
--- a/store/es/index.js
+++ b/store/es/index.js
@@ -209,6 +209,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'indexOf',
+ shortDesc: 'el primer índice de un elemento particular después de un índice particular',
+ desc:
+ `La función indexOf
toma un segundo parámetro fromIndex
que se puede usar para proporcionar el índice para iniciar la búsqueda en.
+ Devuelve el primer índice en el que se puede encontrar un elemento determinado en la matriz después de fromIndex
, o -1 si no está presente.
+ Nota: devuelve -1 si el elemento dado está presente antes de fromIndex
solamente`,
+ example: `console.log(arr.indexOf(5, 0));
+ arr = [5, 1, 8, 5, 4, 5];
+ console.log(arr.indexOf(5, 2));`,
+ output: `0
+ 3`
+ },
{
name: 'lastIndexOf',
shortDesc:
@@ -218,6 +231,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'lastIndexOf',
+ shortDesc: 'El último índice de un elemento particular antes de un índice particular',
+ desc:
+ `La función lastIndexOf
toma un segundo parámetro fromIndex
que se puede utilizar para proporcionar el índice desde el que comenzar la búsqueda hacia atrás.
+ Devuelve el último índice en el que se puede encontrar un elemento determinado en la matriz antes de fromIndex
, o -1 si no está presente.
+ Nota: devuelve -1 si el elemento dado está presente después de fromIndex
solamente`,
+ example: `console.log(arr.lastIndexOf(8, 2));
+ arr = [8, 1, 8];
+ console.log(arr.lastIndexOf(8, 1));`,
+ output: `2
+ 0`
+ },
{
name: 'find',
shortDesc: 'el primer elemento que satisface una condición',
diff --git a/store/fr/index.js b/store/fr/index.js
index 78d4601..8887e50 100644
--- a/store/fr/index.js
+++ b/store/fr/index.js
@@ -214,6 +214,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'indexOf',
+ shortDesc: 'le premier index d\'un élément particulier après un index particulier',
+ desc:
+ `La fonction indexOf code> utilise un second paramètre fromIndex code> qui peut être utilisé pour fournir l'index dans lequel démarrer la recherche.
+ Retourne le premier index auquel un élément donné peut être trouvé dans le tableau après fromIndex code>, ou -1 s'il n'est pas présent.
+ Remarque: renvoie -1 si l'élément donné est présent avant fromIndex code> uniquement`,
+ example: `console.log(arr.indexOf(5, 0));
+ arr = [5, 1, 8, 5, 4, 5];
+ console.log(arr.indexOf(5, 2));`,
+ output: `0
+ 3`
+ },
{
name: 'lastIndexOf',
shortDesc: "le dernier indice d'un élément en particulier",
@@ -222,6 +235,19 @@ export default {
example: `console.log(arr.lastIndexOf(5));`,
output: `0`
},
+ {
+ name: 'lastIndexOf',
+ shortDesc: 'le dernier index d\'un élément particulier avant un index particulier',
+ desc:
+ `La fonction lastIndexOf code> utilise un second paramètre fromIndex code> qui peut être utilisé pour fournir l'index à partir duquel démarrer la recherche en arrière.
.
+ Renvoie le dernier index auquel un élément donné peut être trouvé dans le tableau avant fromIndex code>, ou -1 s'il n'est pas présent.
+ Remarque: renvoie -1 si l'élément donné est présent après fromIndex code> uniquement`,
+ example: `console.log(arr.lastIndexOf(8, 2));
+ arr = [8, 1, 8];
+ console.log(arr.lastIndexOf(8, 1));`,
+ output: `2
+ 0`
+ },
{
name: 'find',
shortDesc: 'le premier élément qui respecte une condition',
diff --git a/store/id/index.js b/store/id/index.js
index e058669..2fb76a8 100644
--- a/store/id/index.js
+++ b/store/id/index.js
@@ -208,6 +208,19 @@ export default {
example: `console.log(arr.indexOf(5));`,
output: `0`
},
+ {
+ name: 'indexOf',
+ shortDesc: 'indeks pertama dari item tertentu setelah indeks tertentu',
+ desc:
+ `Fungsi indexOf
mengambil parameter fromIndex
kedua yang dapat digunakan untuk menyediakan indeks untuk memulai pencarian di.
+ Mengembalikan indeks pertama di mana elemen yang diberikan dapat ditemukan dalam array setelah fromIndex
, atau -1 jika tidak ada.
+ Catatan: mengembalikan -1 jika elemen yang diberikan ada sebelum fromIndex
saja`,
+ example: `console.log(arr.indexOf(5, 0));
+ arr = [5, 1, 8, 5, 4, 5];
+ console.log(arr.indexOf(5, 2));`,
+ output: `0
+ 3`
+ },
{
name: 'lastIndexOf',
shortDesc: 'indeks terakhir dari sebuah item tertentu',
@@ -216,6 +229,19 @@ export default {
example: `console.log(arr.lastIndexOf(5));`,
output: `0`
},
+ {
+ name: 'lastIndexOf',
+ shortDesc: 'indeks terakhir dari item tertentu sebelum indeks tertentu',
+ desc:
+ `Fungsi lastIndexOf
mengambil parameter fromIndex
kedua yang dapat digunakan untuk menyediakan indeks untuk memulai pencarian mundur dari.
+ Mengembalikan indeks terakhir di mana elemen tertentu dapat ditemukan dalam array sebelum fromIndex
, atau -1 jika tidak ada.
+ Catatan: mengembalikan -1 jika elemen yang diberikan hanya hadir setelah fromIndex
`,
+ example: `console.log(arr.lastIndexOf(8, 2));
+ arr = [8, 1, 8];
+ console.log(arr.lastIndexOf(8, 1));`,
+ output: `2
+ 0`
+ },
{
name: 'find',
shortDesc: 'elemen pertama yang memenuhi sebuah kondisi',