Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### rearg
|
||||
---
|
||||
title: rearg
|
||||
tags: adapter,function,intermediate
|
||||
---
|
||||
|
||||
Creates a function that invokes the provided function with its arguments arranged according to the specified indexes.
|
||||
|
||||
@ -16,4 +19,4 @@ var rearged = rearg(
|
||||
[2, 0, 1]
|
||||
);
|
||||
rearged('b', 'c', 'a'); // ['a', 'b', 'c']
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user