diff --git a/snippets/sortedIndex.md b/snippets/sortedIndex.md index 8a514a0dd..f83da6ec0 100644 --- a/snippets/sortedIndex.md +++ b/snippets/sortedIndex.md @@ -14,6 +14,6 @@ const sortedIndex = (arr, n) => { ``` ```js -sortedIndex([5,3,2,1], 4); //1 +sortedIndex([5,3,2,1], 4); // 1 sortedIndex([30,50],40); // 1 ```