Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### forEachRight
|
||||
---
|
||||
title: forEachRight
|
||||
tags: array,function,intermediate
|
||||
---
|
||||
|
||||
Executes a provided function once for each array element, starting from the array's last element.
|
||||
|
||||
@ -14,4 +17,4 @@ const forEachRight = (arr, callback) =>
|
||||
|
||||
```js
|
||||
forEachRight([1, 2, 3, 4], val => console.log(val)); // '4', '3', '2', '1'
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user