finds.dev← search

// the find

sdras/array-explorer

★ 2,609 · JavaScript · MIT · updated Jun 2024

⚡️ A resource to help figure out what JavaScript array method would be best to use at any given time

An interactive decision-tree UI for picking the right JavaScript array method. You describe what you want to do — 'I have an array and want to find something in it' — and it narrows down the options. It's aimed at JS beginners and people who blanked on `.findIndex()` vs `.indexOf()` again.

The question-driven navigation is genuinely more useful than scanning MDN's flat list when you know the goal but not the method name. Translation support across 18+ locales is a real effort and makes it more useful in non-English bootcamp contexts. The companion Object Explorer follows the same pattern, so the approach scales to adjacent problems. The built-in code examples for each method are concrete enough to copy-paste without reading the full MDN page.

Frozen on Vue 2 with Vuex, and the webpack build toolchain is vue-cli 2 vintage — both are EOL. Nobody should fork this today without rewriting the build setup. The taxonomy is intentionally non-standard, which helps beginners but means experienced devs searching by the correct term (mutating vs non-mutating) won't find what they expect. Newer array methods added after ~2021 (`.at()`, `.toSorted()`, `.toReversed()`, `.findLast()`) are missing. It's a static reference with no search input, so if you already know part of the method name you can't just type it.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →