fixing broken link on array-methods page
fixing broken link on array-methods page
This commit is contained in:
parent
62226efedc
commit
d2329c197c
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ alert(arr); // *!*1, 2, 15*/!*
|
||||||
````
|
````
|
||||||
|
|
||||||
````smart header="Arrow functions for the best"
|
````smart header="Arrow functions for the best"
|
||||||
Remember [arrow functions](info:function-expression#arrow-functions)? We can use them here for neater sorting:
|
Remember [arrow functions](info:function-expressions-arrows#arrow-functions)? We can use them here for neater sorting:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
arr.sort( (a, b) => a - b );
|
arr.sort( (a, b) => a - b );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue