---
title: "Discussion on \"Day 9 of 100 - .indexOf()\" | Hashnode"
description: "Discussion on \"Day 9 of 100 - .indexOf()\". Learnt 1 JS Feature\n\n.indexOf()\n\nSyntax: arr.indexOf(searchElement[, fromIndex])\n\nThe indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is not present.\n\nsearchElement\n\nElement to locate in the ar..."
url: "https://hashnode.com/posts/day-9-of-100-indexof/5ec80087627c645c120afa08"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Day 9 of 100 - .indexOf()](https://bot5am.hashnode.dev/day-9-of-100-indexof?utm_source=hashnode&utm_medium=feed)

Learnt 1 JS Feature .indexOf() Syntax: arr.indexOf(searchElement\[, fromIndex\]) 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. searchElement Element to locate in the ar...

May 22, 2020 · bot5am.hashnode.dev  
Read the article

## Written by

[bot5am](https://hashnode.com/@bot5am)

@bot5am · metaverse

  
[View profile](https://hashnode.com/@bot5am)

The Myth of Sisyphus. Recovering Perfectionist. Real Progress vs. Fantastic Delusions.

I am trying to mix fun with coding. So far, it has burned up on my face. I have voices in my head feeding me fear, wholesale. Coding is the only antidote to my fear of powerlessness. That's why I can't give up.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
