{"json_modified": "2016-08-30T11:59:07.214363", "uuid": "983b4c69-42be-43c3-9b9a-7f2499e0503e", "title": "Array.prototype.lastIndexOf()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf", "tags": ["ECMAScript5", "polyfill", "Array", "Prototype", "JavaScript", "Method"], "translations": [{"uuid": "9539509d-985c-4b5e-962e-2edd02d518cc", "title": "Array.prototype.lastIndexOf()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Array/lastIndexOf", "tags": [], "summary": "", "localization_tags": [], "locale": "ca", "last_edit": "2016-04-06T12:41:46", "review_tags": []}, {"uuid": "3ce6fcf3-1a3e-4cd7-863d-2177aaa2f8c7", "title": "Array.prototype.lastIndexOf()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/lastIndexOf", "tags": [], "summary": "El m\u00e9todo\u00a0lastIndexOf() devuelve el \u00faltimo \u00edndice\u00a0en el que\u00a0un cierto elemento\u00a0puede encontrarse\u00a0en el array, o -1 si el elemento no se encontrara. El array es recorrido\u00a0en sentido contrario, empezando por el \u00edndice\u00a0fromIndex.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-03-29T14:37:43", "review_tags": []}, {"uuid": "8f66cdf6-61dd-4b6a-907f-ac5448fdd08e", "title": "Array.prototype.lastIndexOf()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/lastIndexOf", "tags": ["ECMAScript5", "polyfill", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "M\u00e9thode"], "summary": "La m\u00e9thode lastIndexOf() permet de renvoyer le dernier indice pour lequel une valeur donn\u00e9e est pr\u00e9sente dans un tableau. Si la valeur recherch\u00e9e n'est pas pr\u00e9sente, le r\u00e9sultat sera -1. Lors de la recherche, le tableau est parcouru dans le sens des index d\u00e9croissants, \u00e0 partir de l'index indexD\u00e9but.", "localization_tags": [], "locale": "fr", "last_edit": "2016-08-30T11:58:56", "review_tags": []}, {"uuid": "1c923517-7f37-47b3-a8c7-922a25fdedea", "title": "Array.prototype.lastIndexOf()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf", "tags": ["Array", "Array methods"], "summary": "\u914d\u5217\u4e2d\u3067\u4e0e\u3048\u3089\u308c\u305f\u8981\u7d20\u304c\u898b\u3064\u3051\u3089\u308c\u305f\u6700\u5f8c\u306e\u6dfb\u5b57\u3092\u8fd4\u3057\u307e\u3059\u3002\u3082\u3057\u5b58\u5728\u3057\u306a\u3051\u308c\u3070 -1 \u3092\u8fd4\u3057\u307e\u3059\u3002\u914d\u5217\u306f fromIndex \u304b\u3089\u9006\u5411\u304d\u306b\u691c\u7d22\u3055\u308c\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-12T11:29:34", "review_tags": []}, {"uuid": "f40348c6-53e8-4f41-88e9-431b9f93dfe6", "title": "Array.prototype.lastIndexOf()", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Array/lastIndexOf", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Strony_wymagaj\u0105ce_dopracowania", "Wszystkie_kategorie"], "summary": "Zwraca ostatni indeks, pod kt\u00f3rym podany element mo\u017ce by\u0107 znaleziony w tablicy, lub -1 je\u015bli nie jest obecny. Tablica jest przeszukiwana od ko\u0144ca, zaczynaj\u0105c od indeksu fromIndex", "localization_tags": [], "locale": "pl", "last_edit": "2015-04-18T03:22:00", "review_tags": []}, {"uuid": "1f5de067-dc4c-4be7-99f3-b77eca5823eb", "title": "Array.prototype.lastIndexOf()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf", "tags": [], "summary": "O m\u00e9todo\u00a0lastIndexOf() retorna o ultimo \u00edndice que um certo elemento pode ser encontrado no array,\u00a0ou -1 se o elemento n\u00e3o estiver presente. O array \u00e9 pesquisado de traz para frente, come\u00e7ando pelo\u00a0fromIndex.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2016-01-14T06:15:45", "review_tags": ["editorial"]}, {"uuid": "ca761b17-a345-4a31-a850-02c1c7881288", "title": "Array.prototype.lastIndexOf()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf", "tags": ["ECMAScript5", "polyfill", "Reference", "R\u00e9f\u00e9rence", "Array", "Prototype", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 lastIndexOf() \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\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. \u041c\u0430\u0441\u0441\u0438\u0432 \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043a\u043e\u043d\u0446\u0430 \u043a \u043d\u0430\u0447\u0430\u043b\u0443, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u0430 fromIndex.", "localization_tags": [], "locale": "ru", "last_edit": "2016-07-02T11:25:10", "review_tags": []}, {"uuid": "ace50ff9-89fb-47c1-b01d-8194ce2afcf2", "title": "Array.prototype.lastIndexOf()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf", "tags": [], "summary": "lastIndexOf() \u65b9\u6cd5\u8fd4\u56de\u6307\u5b9a\u5143\u7d20\uff08\u4e5f\u5373\u6709\u6548\u7684 JavaScript \u503c\u6216\u53d8\u91cf\uff09\u5728\u6570\u7ec4\u4e2d\u7684\u6700\u540e\u4e00\u4e2a\u7684\u7d22\u5f15\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u5219\u8fd4\u56de -1\u3002\u4ece\u6570\u7ec4\u7684\u540e\u9762\u5411\u524d\u67e5\u627e\uff0c\u4ece fromIndex \u5904\u5f00\u59cb\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-05-26T08:12:11", "review_tags": []}], "modified": "2016-08-30T07:00:11", "label": "Array.prototype.lastIndexOf()", "localization_tags": [], "locale": "en-US", "id": 1703, "last_edit": "2016-08-30T07:00:03", "summary": "The lastIndexOf() method returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards, starting at fromIndex.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_lastIndexOf", "title": "Using "}, {"id": "Finding_all_the_occurrences_of_an_element", "title": "Finding all the occurrences of an element"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "Compatibility_notes", "title": "Compatibility notes"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf", "review_tags": []}