We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b6f3f5c + f880f1f commit 0599d07Copy full SHA for 0599d07
1 file changed
1-js/05-data-types/05-array-methods/article.md
@@ -426,6 +426,7 @@ By the way, if we ever want to know which elements are compared -- nothing preve
426
```js run
427
[1, -2, 15, 2, 0, 8].sort(function(a, b) {
428
alert( a + " <> " + b );
429
+ return a - b;
430
});
431
```
432
0 commit comments