{"json_modified": "2016-07-02T11:22:48.283010", "uuid": "161b7090-2334-4001-bb8f-3d45374e2985", "title": "Array.prototype.indexOf()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["prototype", "polyfill", "Reference", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "Method"], "translations": [{"uuid": "0222678a-2916-43f1-a4b4-c90a163acb6a", "title": "Array.prototype.indexOf()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["Array", "Array methods", "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": "b5193a71-5a22-4dc8-a6e6-d2e4d6bbe2c6", "title": "Array.prototype.indexOf()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["prototype", "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-03-29T06:45:11", "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": "32401741-a00c-4f79-a222-3660af47c972", "title": "Array.prototype.indexOf()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/indexOf", "tags": ["prototype", "polyfill", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "M\u00e9thode"], "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.", "localization_tags": [], "locale": "fr", "last_edit": "2016-03-29T11:45:55", "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", "prototype", "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": "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": "2015-11-27T04:45:39", "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": "19eb6993-3c95-40fb-ba51-8a9469f2727c", "title": "Array.prototype.indexOf()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["prototype", "Reference", "polyfill", "Array", "Prototype", "JavaScript", "Method"], "summary": "indexOf()
vergleicht\u00a0searchElement
mit den Elementen des Feldes und verwendet hierzu strikte Gleichheit\u00a0(die gleiche Methode, die bei dem === - Operator (triple equals) angewendet wird).", "localization_tags": [], "locale": "de", "last_edit": "2016-04-22T14:53:22", "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": []}], "modified": "2016-07-02T11:22:47", "label": "Array.prototype.indexOf()", "localization_tags": [], "locale": "ru", "id": 125633, "last_edit": "2016-07-02T11:22:40", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "\u0421\u0432\u043e\u0434\u043a\u0430"}, {"id": "Syntax", "title": "\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441"}, {"id": "Parameters", "title": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b"}, {"id": "Description", "title": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435"}, {"id": "Examples", "title": "\u041f\u0440\u0438\u043c\u0435\u0440\u044b"}, {"id": "Example:_Using_indexOf", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 "}, {"id": "Example:_Finding_all_the_occurrences_of_an_element", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430"}, {"id": "Polyfill", "title": "\u041f\u043e\u043b\u0438\u0444\u0438\u043b\u043b"}, {"id": "Specifications", "title": "\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438"}, {"id": "Browser_compatibility", "title": "\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438"}, {"id": "See_also", "title": "\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u0430\u043a\u0436\u0435"}], "slug": "Web/JavaScript/Reference/Global_Objects/Array/indexOf", "review_tags": []}