{"json_modified": "2016-10-30T01:47:43.088274", "uuid": "32401741-a00c-4f79-a222-3660af47c972", "title": "Array.prototype.indexOf()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/indexOf", "tags": ["polyfill", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "M\u00e9thode"], "translations": [{"uuid": "b5193a71-5a22-4dc8-a6e6-d2e4d6bbe2c6", "title": "Array.prototype.indexOf()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["Reference", "polyfill", "Array", "Prototype", "JavaScript", "Method"], "summary": "The indexOf()
method returns the first index at which a given element can be found in the array, or -1 if it is not present.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-10-28T08:17:36", "review_tags": []}, {"uuid": "866f76ba-8e6c-4459-8291-080ea4d1c824", "title": "Array.prototype.indexOf()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Array/indexOf", "tags": [], "summary": "El m\u00e8tode indexOf()
retorna la primera posici\u00f3 a la qual es troba l'element proporcionat, o b\u00e9 -1 si l'element no es troba dins l'array.", "localization_tags": [], "locale": "ca", "last_edit": "2016-04-06T12:42:07", "review_tags": []}, {"uuid": "19eb6993-3c95-40fb-ba51-8a9469f2727c", "title": "Array.prototype.indexOf()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["Reference", "polyfill", "Array", "Prototype", "JavaScript", "Method"], "summary": "Den ersten Index eines Elementes aus dem Array. -1 wenn keins gefunden wurde.", "localization_tags": [], "locale": "de", "last_edit": "2016-07-20T09:31:30", "review_tags": []}, {"uuid": "e787ed2e-6cd1-44b1-b724-ab8ee1405c9f", "title": "Array.prototype.indexOf()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/indexOf", "tags": ["Array", "Prototype", "Method", "JavaScript"], "summary": "Devuelve el primer \u00edndice en el que\u00a0se encuentra un elemento dado, o -1 si el elemento no se encuentra.", "localization_tags": [], "locale": "es", "last_edit": "2016-02-10T07:25:49", "review_tags": []}, {"uuid": "a0b5f4d6-5dee-4b30-a9cf-06605416248a", "title": "Array.prototype.indexOf()", "url": "/it/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": [], "summary": "Il metodo\u00a0indexOf()
ritorna il primo indice al quale l'elemento dato pu\u00f2 essere trovato nell'array, o -1 se l'elemento non \u00e8 presente.", "localization_tags": ["inprogress"], "locale": "it", "last_edit": "2016-09-12T12:43:45", "review_tags": []}, {"uuid": "0222678a-2916-43f1-a4b4-c90a163acb6a", "title": "Array.prototype.indexOf()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["Array", "JavaScript"], "summary": "\u5f15\u6570\u306b\u4e0e\u3048\u3089\u308c\u305f\u5185\u5bb9\u3068\u540c\u3058\u5185\u5bb9\u3092\u6301\u3064\u914d\u5217\u8981\u7d20\u306e\u5185\u3001\u6700\u521d\u306e\u3082\u306e\u306e\u6dfb\u5b57\u3092\u8fd4\u3057\u307e\u3059\u3002\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f -1
\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-12T11:28:12", "review_tags": []}, {"uuid": "3b28e6be-78b6-4013-bf50-3e079fb3e5ef", "title": "Array.prototype.indexOf()", "url": "/nl/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["indexof", "zoeken", "Array", "Methode"], "summary": "De indexOf()
methode retourneert het index getal behorende bij het gegeven element in een array. Indien het element niet is gevonden wordt -1 geretourneerd.", "localization_tags": ["inprogress"], "locale": "nl", "last_edit": "2016-08-29T02:44:12", "review_tags": []}, {"uuid": "b5a17d41-8daf-450a-8bb0-5636de5c72ca", "title": "Array.prototype.indexOf()", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Array/indexOf", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Wszystkie_kategorie"], "summary": "Zwraca pierwszy (najmniejszy) indeks elementu w tablicy r\u00f3wnego podanej warto\u015bci lub -1, gdy nie znaleziono takiego elementu.", "localization_tags": [], "locale": "pl", "last_edit": "2015-04-18T04:02:01", "review_tags": []}, {"uuid": "8e6a576b-8a02-4147-a83a-45b1530df8bf", "title": "Array.prototype.indexOf()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": [], "summary": "indexOf()
compara o \u00a0elementoDePesquisa
com os elementos do Array usando\u00a0
igualdade estrita\u00a0(o mesmo m\u00e9todo usado pelo ===, ou triple-equals\u00a0operator).", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2016-01-14T06:49:55", "review_tags": []}, {"uuid": "161b7090-2334-4001-bb8f-3d45374e2985", "title": "Array.prototype.indexOf()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["polyfill", "Reference", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 indexOf()
\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0434\u0430\u043d\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0430\u0439\u0434\u0435\u043d \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0438\u043b\u0438 -1, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0430 \u043d\u0435\u0442.", "localization_tags": [], "locale": "ru", "last_edit": "2016-07-02T11:22:40", "review_tags": []}, {"uuid": "0fe5e8e3-2286-42bd-8dbb-c9bc7609f352", "title": "Array.prototype.indexOf()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["\u6570\u7ec4", "\u53c2\u8003", "polyfill", "\u65b9\u6cd5", "JavaScript", "\u539f\u578b"], "summary": "indexOf()\u65b9\u6cd5
\u8fd4\u56de\u7ed9\u5b9a\u5143\u7d20\u80fd\u627e\u5728\u6570\u7ec4\u4e2d\u627e\u5230\u7684\u7b2c\u4e00\u4e2a\u7d22\u5f15\u503c\uff0c\u5426\u5219\u8fd4\u56de-1\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-10-21T23:02:27", "review_tags": []}], "modified": "2016-10-30T01:47:41", "label": "Array.prototype.indexOf()", "localization_tags": [], "locale": "fr", "id": 59389, "last_edit": "2016-10-30T01:47:33", "summary": "La m\u00e9thode indexOf()
renvoie le premier indice pour lequel on trouve un \u00e9l\u00e9ment donn\u00e9 dans un tableau. Si l'\u00e9l\u00e9ment cherch\u00e9 n'est pas pr\u00e9sent dans le tableau, la m\u00e9thode renverra -1.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntaxe", "title": "Syntaxe"}, {"id": "Param\u00e8tres", "title": "Param\u00e8tres"}, {"id": "Valeur_de_retour", "title": "Valeur de retour"}, {"id": "Description", "title": "Description"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Utiliser_indexOf()", "title": "Utiliser "}, {"id": "Trouver_toutes_les_occurences_d'un_\u00e9l\u00e9ment", "title": "Trouver toutes les occurences d'un \u00e9l\u00e9ment"}, {"id": "Trouver_si_un_\u00e9l\u00e9ment_existe_et_l'ajouter_dans_le_tableau_si_ce_n'est_pas_le_cas", "title": "Trouver si un \u00e9l\u00e9ment existe et l'ajouter dans le tableau si ce n'est pas le cas"}, {"id": "Proth\u00e8se_d'\u00e9mulation_(polyfill)", "title": "Proth\u00e8se d'\u00e9mulation ("}, {"id": "Sp\u00e9cifications", "title": "Sp\u00e9cifications"}, {"id": "Compatibilit\u00e9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Notes_de_compatibilit\u00e9", "title": "Notes de compatibilit\u00e9"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "slug": "Web/JavaScript/Reference/Objets_globaux/Array/indexOf", "review_tags": []}