---
title: "#indexof articles | Hashnode"
description: "Explore 7 articles tagged #indexof on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/indexof"
---

Tag

# #indexof

7 posts · 1 followers

[Anmol singh](https://hashnode.com/@Anmol-Singh) · [Feb 9, 2025](https://hashnode.com/posts/indexof-mastering-javascript-string-methods-with-arguments-explained/67a9264c034f8b7490d0147f)

### [indexOf() Mastering JavaScript String Methods with Arguments Explained](https://java-script-part-3.hashnode.dev/indexof-mastering-javascript-string-methods-with-arguments-explained?utm_source=hashnode&utm_medium=feed)

Learn about the \`indexOf()\` method in JavaScript to find the position of a character within a string using arguments

3 min read · [java-script-part-3.hashnode.dev](https://java-script-part-3.hashnode.dev/indexof-mastering-javascript-string-methods-with-arguments-explained?utm_source=hashnode&utm_medium=feed)

[Anmol singh](https://hashnode.com/@Anmol-Singh) · [Jan 30, 2025](https://hashnode.com/posts/string-methods-using-touppercase-tolowercase-concat-trim-splitseparator-replacesearchvalue-newvalue-and-more/679ad18666d3d98301ad0d62)

### [( String Methods ) : Using toUpperCase, toLowerCase, concat() , trim(), split(separator) , replace(searchValue, newValue) , and More](https://java-script-part-3.hashnode.dev/string-methods-using-touppercase-tolowercase-concat-trim-splitseparator-replacesearchvalue-newvalue-and-more?utm_source=hashnode&utm_medium=feed)

Learn JavaScript string methods like toUpperCase, toLowerCase, and more for effective text manipulation and formatting in coding projects

3 min read · [java-script-part-3.hashnode.dev](https://java-script-part-3.hashnode.dev/string-methods-using-touppercase-tolowercase-concat-trim-splitseparator-replacesearchvalue-newvalue-and-more?utm_source=hashnode&utm_medium=feed)

[DevBitByte](https://hashnode.com/@devbitbyte) · [Dec 6, 2023](https://hashnode.com/posts/how-to-write-javascript-indexof-and-lastindexof-array-methods-from-scratch/657070ddf293594eb69ff543)

### [How to write JavaScript indexOf and lastIndexOf array methods from scratch](https://blog.devbitbyte.com/how-to-write-javascript-indexof-and-lastindexof-array-methods-from-scratch?utm_source=hashnode&utm_medium=feed)

Basic implementation of indexOf & lastIndexOf methods from scratch.

1 min read · [blog.devbitbyte.com](https://blog.devbitbyte.com/how-to-write-javascript-indexof-and-lastindexof-array-methods-from-scratch?utm_source=hashnode&utm_medium=feed)

[Austin Musiku](https://hashnode.com/@amusiku) · [May 17, 2023](https://hashnode.com/posts/h2h-for-loop-search-vs-the-indexof-method/6464395db98e36798fd0cea0)

### [H2H: For-loop search vs the .indexOf() method](https://amusiku.hashnode.dev/h2h-for-loop-search-vs-the-indexof-method?utm_source=hashnode&utm_medium=feed)

Searching for a specific element in an array is a common task in programming. Two popular methods for searching arrays in JavaScript are iterating over each element using a for loop and Array.prototype.indexOf(). The former is a simple search algorit...

6 min read · [amusiku.hashnode.dev](https://amusiku.hashnode.dev/h2h-for-loop-search-vs-the-indexof-method?utm_source=hashnode&utm_medium=feed)

[Mohd Asif](https://hashnode.com/@mohdasifdev) · [May 16, 2023](https://hashnode.com/posts/how-to-remove-the-duplicate-elements-from-an-array-in-javascript/64634de1292efa272d4e3ced)

### [How to remove the duplicate Elements from an array in JavaScript ?](https://mohdasifabid.hashnode.dev/how-to-remove-the-duplicate-elements-from-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

const numArray = \[0,1,1,2,2,2,3,3,5,5,5\] // input //expected output \[0,1,2,3,5\] Using the indexOf & filter method indexOf: MDN says, the indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is no...

3 min read · [mohdasifabid.hashnode.dev](https://mohdasifabid.hashnode.dev/how-to-remove-the-duplicate-elements-from-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

[Rajnish sharma](https://hashnode.com/@rajnisharena) · [Aug 27, 2022](https://hashnode.com/posts/arrays-in-javascript/630a1da54d50fd71142ca2ee)

### [Arrays in JavaScript](https://rajnisharena.hashnode.dev/arrays-in-javascript?utm_source=hashnode&utm_medium=feed)

How to Use Arrays in JavaScript

3 min read · [rajnisharena.hashnode.dev](https://rajnisharena.hashnode.dev/arrays-in-javascript?utm_source=hashnode&utm_medium=feed)

[Vajid Kagdi](https://hashnode.com/@heyitsvajid) · [Aug 9, 2022](https://hashnode.com/posts/how-to-remove-specific-item-from-array-by-value-in-javascript/62f211d4a56ed86b41c66151)

### [How to remove specific item from array by value in Javascript?](https://heyitsvajid.hashnode.dev/how-to-remove-specific-item-from-array-by-value-in-javascript?utm_source=hashnode&utm_medium=feed)

Javascript | Arrays | splice | indexOf | filter | how to

2 min read · [heyitsvajid.hashnode.dev](https://heyitsvajid.hashnode.dev/how-to-remove-specific-item-from-array-by-value-in-javascript?utm_source=hashnode&utm_medium=feed)
