{"json_modified": "2016-01-14T06:49:59.892652", "slug": "Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": [], "locale": "pt-BR", "title": "Array.prototype.indexOf()", "translations": [{"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": []}, {"title": "Array.prototype.indexOf()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["prototype", "Reference", "polyfill", "Array", "Prototype", "JavaScript", "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": "2015-12-25T09:24:12", "review_tags": []}, {"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": []}, {"title": "Array.prototype.indexOf()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/indexOf", "tags": ["prototype", "polyfill", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "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": "2015-12-30T02:49:58", "review_tags": []}, {"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 un se encuentra un elemento dado, o -1 si el elemento no se encuentra.", "localization_tags": [], "locale": "es", "last_edit": "2014-08-13T23:16:44", "review_tags": []}, {"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": []}, {"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": "2015-01-26T04:41:19", "review_tags": []}, {"title": "Array.prototype.indexOf()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": [], "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": ["inprogress"], "locale": "de", "last_edit": "2015-11-07T00:47:57", "review_tags": []}], "modified": "2016-01-14T06:49:59", "label": "Array.prototype.indexOf()", "localization_tags": ["inprogress"], "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "last_edit": "2016-01-14T06:49:55", "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).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxe", "title": "Sintaxe"}, {"id": "Par\u00e2metros", "title": "Par\u00e2metros"}, {"id": "Descri\u00e7\u00e3o", "title": "Descri\u00e7\u00e3o"}, {"id": "Exemplos", "title": "Exemplos"}, {"id": "Usando_indexOf()", "title": "Usando\u00a0"}, {"id": "Encontrar_todas_as_ocorr\u00eancias_de_um_elemento", "title": "Encontrar todas as ocorr\u00eancias de um elemento"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Especifica\u00e7\u00f5es", "title": "Especifica\u00e7\u00f5es"}, {"id": "Compatibilidade_entre_Navegadores", "title": "Compatibilidade entre Navegadores"}, {"id": "Veja_tamb\u00e9m", "title": "Veja tamb\u00e9m"}], "id": 158479, "review_tags": []}