{"json_modified": "2016-10-30T01:40:53.534846", "uuid": "b8a538f3-e088-4d2a-b956-e16919f5a87b", "title": "Array.prototype.findIndex()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/findIndex", "tags": ["polyfill", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "ECMAScript6", "M\u00e9thode"], "translations": [{"uuid": "b19decb1-4e21-4618-95ec-b4ce79b92eab", "title": "Array.prototype.findIndex()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex", "tags": ["polyfill", "Array", "Prototype", "JavaScript", "ECMAScript6", "Method"], "summary": "The findIndex()
method returns an index of the first element in the array that satisfies the provided testing function. Otherwise -1 is returned.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-10-27T01:43:00", "review_tags": []}, {"uuid": "ed99cbee-95f8-410a-ab36-7d8b73eec62f", "title": "Array.prototype.findIndex()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Array/findIndex", "tags": [], "summary": "El m\u00e8tode findIndex()
retorna una posici\u00f3 de l'array si un element de l'array satisf\u00e0 la funci\u00f3 de testeig donada. En cas contrari retornar\u00e0 -1.", "localization_tags": [], "locale": "ca", "last_edit": "2016-03-22T08:21:34", "review_tags": []}, {"uuid": "48ba9c2b-8cf0-4194-b915-114c000bfc50", "title": "Array.prototype.findIndex()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/findIndex", "tags": ["Index", "ES5", "index", "indexof", "polyfill", "Array", "Prototype", "JavaScript"], "summary": "Revisar tambi\u00e9n el m\u00e9todo\u00a0find()
, que devuelve el\u00a0valor\u00a0\u00a0de un elemento encontrado en el arreglo en vez de su indice.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-09-27T22:46:41", "review_tags": ["editorial"]}, {"uuid": "b1435cb2-5399-44a9-b053-68232217591d", "title": "Array.prototype.findIndex()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex", "tags": ["polyfill", "Array", "Prototype", "JavaScript", "ECMAScript6", "Method"], "summary": "findIndex()
\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u914d\u5217\u5185\u306e\u8981\u7d20\u304c\u6307\u5b9a\u3055\u308c\u305f\u30c6\u30b9\u30c8\u95a2\u6570\u3092\u6e80\u305f\u3059\u5834\u5408\u3001\u914d\u5217\u5185\u306e \u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \u3092\u8fd4\u3057\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f -1
\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-02-05T23:51:27", "review_tags": []}, {"uuid": "0a94fd80-0089-4f0b-a7ea-a03d813e96c3", "title": "Array.prototype.findIndex()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex", "tags": [], "summary": "O m\u00e9todo\u00a0findIndex()
retorna um\u00a0\u00edndice no array se um elemento no array satisfizer a fun\u00e7\u00e3o de teste provida. Caso contr\u00e1rio, -1 \u00e9 retornado.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-04-03T19:25:40", "review_tags": []}, {"uuid": "a5a9461d-044d-4116-bf0a-7b694d9c6bfc", "title": "Array.prototype.findIndex()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex", "tags": ["polyfill", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Array", "Prototype", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 findIndex()
\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u043d\u0434\u0435\u043a\u0441 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435, \u0435\u0441\u043b\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f -1.", "localization_tags": [], "locale": "ru", "last_edit": "2016-07-02T10:12:03", "review_tags": []}, {"uuid": "0740df12-ef9f-49dc-b01d-7cc1d563b56e", "title": "Array.prototype.findIndex()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex", "tags": ["Array", "Prototype", "Method", "JavaScript"], "summary": "findIndex()
\u65b9\u6cd5\u7528\u6765\u67e5\u627e\u6570\u7ec4\u4e2d\u67d0\u6307\u5b9a\u5143\u7d20\u7684\u7d22\u5f15, \u5982\u679c\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u5143\u7d20, \u5219\u8fd4\u56de -1.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-09-27T05:19:40", "review_tags": []}], "modified": "2016-10-30T01:40:52", "label": "Array.prototype.findIndex()", "localization_tags": [], "locale": "fr", "id": 114177, "last_edit": "2016-10-30T01:40:45", "summary": "La m\u00e9thode findIndex()
renvoie l'indice du premier \u00e9l\u00e9ment du tableau qui satisfait une condition donn\u00e9e par une fonction. Si la fonction renvoie faux pour tous les \u00e9l\u00e9ments du tableau, le r\u00e9sultat vaut -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": "Trouver_l'indice_d'un_nombre_premier_dans_un_tableau", "title": "Trouver l'indice d'un nombre premier dans un tableau"}, {"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": "Voir_aussi", "title": "Voir aussi"}], "slug": "Web/JavaScript/Reference/Objets_globaux/Array/findIndex", "review_tags": []}