diff --git a/snippets/sortedLastIndex.md b/snippets/sortedLastIndex.md index 88ba341e1..7f1a90bc7 100644 --- a/snippets/sortedLastIndex.md +++ b/snippets/sortedLastIndex.md @@ -14,5 +14,5 @@ const sortedLastIndex = (arr, n) => { ``` ```js -sortedLastIndex([10, 20, 30, 30, 40], 30); // 3 +sortedLastIndex([10, 20, 30, 30, 40], 30); // 4 ```