Fix confusion in the task

This commit is contained in:
Alexey Pyltsyn 2019-10-22 18:51:47 +03:00 committed by GitHub
parent 2e5fa7810b
commit 33cca1b111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,12 +2,12 @@ importance: 4
--- ---
# Sort in the reverse order # Sort in decreasing order
```js ```js
let arr = [5, 2, 1, -10, 8]; let arr = [5, 2, 1, -10, 8];
// ... your code to sort it in the reverse order // ... your code to sort it in decreasing order
alert( arr ); // 8, 5, 2, 1, -10 alert( arr ); // 8, 5, 2, 1, -10
``` ```