{"json_modified": "2014-01-11T16:37:18.056689", "slug": "Web/JavaScript/Reference/Global_Objects/Array/indexOf", "tags": ["Array", "prototype", "Method", "JavaScript"], "locale": "en-US", "title": "Array.prototype.indexOf()", "translations": [{"locale": "es", "url": "/es/docs/Referencia_de_JavaScript_1.5/Objetos_globales/Array/indexOf", "title": "M\u00e9todo indexOf de Array"}, {"locale": "fr", "url": "/fr/docs/JavaScript/Reference/Global_Objects/Array/indexOf", "title": "M\u00e9thode indexOf Tableaux"}, {"locale": "ja", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "title": "Array.prototype.indexOf"}], "modified": "2014-01-11T16:37:17", "label": "Array.prototype.indexOf()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf", "summary": "The <code><strong>indexOf()</strong></code> method returns the first index at which a given element can be found in the array, or -1 if it is not present.", "sections": [{"id": "Summary", "title": "Summary"}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Example.3A_Using_indexOf", "title": "Example: Using indexOf"}, {"id": "Example.3A_Finding_all_the_occurrences_of_an_element", "title": "Example: Finding all the occurrences of an element"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "id": 1704, "review_tags": []}