{"json_modified": "2016-09-27T05:19:59.366710", "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"], "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 in the array, if an element in the array satisfies the provided testing function. Otherwise -1 is returned.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-07-29T02:23:55", "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", "Array.prototype", "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-06T18:58:24", "review_tags": ["editorial"]}, {"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"], "summary": "La m\u00e9thode findIndex() renvoie l'indice d'un \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.", "localization_tags": [], "locale": "fr", "last_edit": "2016-07-29T04:04:59", "review_tags": []}, {"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": []}], "modified": "2016-09-27T05:19:47", "label": "Array.prototype.findIndex()", "localization_tags": [], "locale": "zh-CN", "id": 86153, "last_edit": "2016-09-27T05:19:40", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "\u6982\u8ff0"}, {"id": "Syntax", "title": "\u8bed\u6cd5"}, {"id": "Parameters", "title": "\u53c2\u6570"}, {"id": "Description", "title": "\u63cf\u8ff0"}, {"id": "Examples", "title": "\u793a\u4f8b"}, {"id": "Example:_Testing_size_of_all_array_elements", "title": "\u793a\u4f8b1: \u67e5\u627e\u6570\u7ec4\u4e2d\u9996\u4e2a\u8d28\u6570\u5143\u7d20\u7684\u7d22\u5f15"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "\u89c4\u8303", "title": "\u89c4\u8303"}, {"id": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027", "title": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027"}, {"id": "See_also", "title": "\u76f8\u5173\u94fe\u63a5"}], "slug": "Web/JavaScript/Reference/Global_Objects/Array/findIndex", "review_tags": []}