JavaScript Array Methods Reference

Searchable reference for every JavaScript Array prototype method with syntax, return type, mutates flag, and a live runnable example.

0 methods

Summary

Searchable reference for every JavaScript Array prototype method with syntax, return type, mutates flag, and a live runnable example.

How it works

  1. All built-in Array prototype methods are listed in a filterable table.
  2. Use the search box to filter by method name or description.
  3. Use the category and mutates filters to narrow results further.
  4. Click any row to expand a live runnable code example.
  5. Press the Run button to execute the example and see the output instantly.
  6. Results appear inline — no external services or network calls needed.

Use cases

  • Quickly look up Array method syntax without leaving your editor.
  • Learn which methods mutate the original array vs. returning a new one.
  • Test an unfamiliar method against a small example before using it in code.
  • Use as a study aid when preparing for JavaScript interviews.
  • Find the right higher-order method (map, filter, reduce, find, etc.) for a task.
  • Compare similar methods such as find vs. findIndex or slice vs. splice.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu