Update solution.md
This commit is contained in:
parent
24411a8de8
commit
5b0e2ae585
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
```js run
|
||||
let arr = [5, 2, 1, -10, 8];
|
||||
|
||||
arr.sort((a,b) => b - a);
|
||||
arr.sort((a, b) => b - a);
|
||||
|
||||
alert( arr );
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue