Skip to content

Commit ad50be1

Browse files
authored
👾 just add missed break line
1 parent 2901e0c commit ad50be1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

1-js/05-data-types/05-array-methods/article.md

+1
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ Literally, all elements are converted to strings for comparisons. For strings, l
389389
To use our own sorting order, we need to supply a function as the argument of `arr.sort()`.
390390

391391
The function should compare two arbitrary values and return:
392+
392393
```js
393394
function compare(a, b) {
394395
if (a > b) return 1; // if the first value is greater than the second

0 commit comments

Comments
 (0)