---
title: "Austin Musiku (@amusiku) | Hashnode"
description: "Bootleg senior staff engineer"
url: "https://hashnode.com/@amusiku"
---

@amusiku

# Austin Musiku

@amusiku · Joined April 2023

[Website](https://austinmusiku.pages.dev/)

### [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)

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