diff --git a/files/en-us/web/javascript/reference/global_objects/array/findindex/index.md b/files/en-us/web/javascript/reference/global_objects/array/findindex/index.md index d182016756f7205..0b01a1b63e6d3ec 100644 --- a/files/en-us/web/javascript/reference/global_objects/array/findindex/index.md +++ b/files/en-us/web/javascript/reference/global_objects/array/findindex/index.md @@ -48,7 +48,7 @@ The `findIndex()` method is [generic](/en-US/docs/Web/JavaScript/Reference/Globa ## Examples -### Find the index of a prime number in an array +### Find the index of the first prime number in an array The following example returns the index of the first element in the array that is a prime number, or `-1` if there is no prime number.